Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix migration 0013 IrreversibleError #236

Merged
merged 1 commit into from
Jul 25, 2022
Merged

Fix migration 0013 IrreversibleError #236

merged 1 commit into from
Jul 25, 2022

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