You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for this tool, I find it much easier to use and understand than others, and it's working well.
I was wondering if it would be possible to add a single up and down command, like this :
postgrator up
or something like
postgrator --migrationsToDo=1
The goal is to run migrations one at a time. A down version would be nice as well. It allows easier testing of migrations, as with those commands I can simply up and down quickly to test if my do/undo migrations are working (do and undo command line arguments could work as well).
This is also useful when migrating from one dev branch to the other on projects, so you can easily undo a migration on your test database before switching back to the main branch to test something else.
Thanks in advance for considering this feature.
The text was updated successfully, but these errors were encountered:
Hello !
First off, thanks for this tool, I find it much easier to use and understand than others, and it's working well.
I was wondering if it would be possible to add a single up and down command, like this :
or something like
The goal is to run migrations one at a time. A
down
version would be nice as well. It allows easier testing of migrations, as with those commands I can simply up and down quickly to test if my do/undo migrations are working (do
andundo
command line arguments could work as well).This is also useful when migrating from one dev branch to the other on projects, so you can easily undo a migration on your test database before switching back to the main branch to test something else.
Thanks in advance for considering this feature.
The text was updated successfully, but these errors were encountered: