Existing Migration Scripts actions (View/Edit available, Delete is not)
saulcruz
Posts: 19 Bronze 1
Sometimes we need to delete migration scripts that are not valid or are causing problems because they're too old and schema validation fails, so I thought that it was possible to delete migration scripts from the "Existing migration scripts" window in the "Migrations" tab, is there any reason why some migration scripts can only be edited and others can be both edited and deleted.
For example:
For example:
Tagged:
Best Answer
-
Diogo Posts: 67 Silver 5We only allow the last migration to be deleted because they will will depend on each other, so deleting other migrations could cause problems.
If you're interested in knowing a bit more, I'd recommend our documentation page.
https://documentation.red-gate.com/soc6/common-tasks/working-with-migration-scripts/how-migration-scripts-work