Skip to content

Conversation

@Lukasdoe
Copy link
Contributor

@Lukasdoe Lukasdoe commented Jul 22, 2022

Fixes #234

The RunPython migration action was missing a reverse_code function.
This was set to RunPython.noop, as an index drop can't and shouldn't be reversed.

The RunPython migration action was missing a reverse_code function.
This was set to RunPython.noop, as an index drop can't and shouldn't be reversed.
@Lukasdoe Lukasdoe changed the title Fixes #234 Fix migration 0013 IrreversibleError Jul 22, 2022
@Lukasdoe
Copy link
Contributor Author

@jheld could you please review?

Copy link
Collaborator

@jheld jheld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jheld jheld merged commit ea862b5 into soynatan:master Jul 25, 2022
@Lukasdoe Lukasdoe deleted the issue-234 branch July 25, 2022 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

django.db.migrations.exceptions.IrreversibleError

2 participants