-
-
Notifications
You must be signed in to change notification settings - Fork 44
Add command to rollback migration #547
Copy link
Copy link
Open
Labels
C-cliCrate: cot-cli (issues and Pull Requests related to Cot CLI)Crate: cot-cli (issues and Pull Requests related to Cot CLI)enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Metadata
Metadata
Assignees
Labels
C-cliCrate: cot-cli (issues and Pull Requests related to Cot CLI)Crate: cot-cli (issues and Pull Requests related to Cot CLI)enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
It would be nice to have a command that rolls back to a previous version. This should work like the
git reset <hash>command.Syntax-wise, we could use the git style (which is what Django uses), where we specify the file name to rollback to:
and support another variant of the git-style (which Laravel uses), where you specify the number of migrations to roll back.