Skip to content

Fix irreversible RunPython operation in 0020 migration#475

Open
cliffordgama wants to merge 1 commit intofabiocaccamo:mainfrom
cliffordgama:main
Open

Fix irreversible RunPython operation in 0020 migration#475
cliffordgama wants to merge 1 commit intofabiocaccamo:mainfrom
cliffordgama:main

Conversation

@cliffordgama
Copy link

@cliffordgama cliffordgama commented Feb 11, 2026

Fixes #474

migrations.RunPython(default_link_selected),
migrations.RunPython(
default_link_selected,
reverse_code=reverse_default_link_selected
Copy link
Author

Choose a reason for hiding this comment

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

Possible to also just use RunPython.noop

Copy link
Contributor

Choose a reason for hiding this comment

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

No, the function is not a no-op.

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.

Migration 20 cannot be unapplied

2 participants