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: logMigration breaking on rerun ALLOW for mssql #694

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

semics-tech
Copy link

When running the up command with --name and --rerun ALLOW arguments, the logMigration function is failing due to it trying to insert a record that already exists, resulting in a ValidationError.

This code checks for this and don't re-run the logMigration but you may want to update or do something else instead?

@semics-tech
Copy link
Author

@mmkal I see you were the last person to complete a PR, would you kindly be able to review approve this please? It's blocking me from being able to re-apply migrations.

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.

1 participant