umzug icon indicating copy to clipboard operation
umzug copied to clipboard

fix: logMigration breaking on rerun ALLOW for mssql

Open semics-tech opened this issue 1 year ago • 1 comments

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 avatar Oct 28 '24 21:10 semics-tech

@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.

semics-tech avatar Nov 02 '24 11:11 semics-tech