MigrateNext option: run only single next pending migration #633
realkarych
started this conversation in
Feature Ideas
Replies: 2 comments 3 replies
-
In our production, we use dbmate. So I cannot add integration staircase tests over dbmate. Down steps I currently control, because we have I compare schema-dumps on every staircase step. 1 — first migration, 5 — last (new) migration. Idea on the picture: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Related: #364 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the
migrate
command applies all pending migrations at once. In many scenarios, required finer control to apply migrations one at a time (e.g., for testing or debugging purposes). I propose the addition of a new command,migrate-next
, which will apply only the next pending migration.So I added issue (#631) with linked implementation (#632)
Beta Was this translation helpful? Give feedback.
All reactions