In sqitch there is the ADD command to add a new migration. Is there any command to remove that ADDITION?
Asked
Active
Viewed 554 times
1 Answers
1
This is the way I do it:
revert the change from the database.
Remove it manually from the plan or plan files
Remove manually the scripts in deploy/, verify/ and revert/
My cases have been simple, so the above works without issue. I could see complications if the change you are trying to remove is required by other changes down stream. In that situation or as alternative to above I would look at creating a change that reverses the effect of the change you are trying to undo.

Adrian Klaver
- 15,886
- 2
- 17
- 28