-
I know that the README mentions it, but I just can't understand it well. Let's say that my server app V1 requires a database in some schema A. And later V2 changes to schema to B, later V3 changes to schema C. So, I will define 2 migrations:
If the requirement 3 is excluded, I can just run all pending migrations, but I want it not to run any migrations on empty database. How to achieve that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think you'd just have to add the info that these migrations are already complete into your new (fresh) database, or write your migrations such that they ignore an empty db. |
Beta Was this translation helpful? Give feedback.
I think you'd just have to add the info that these migrations are already complete into your new (fresh) database, or write your migrations such that they ignore an empty db.