-
Notifications
You must be signed in to change notification settings - Fork 1.5k
-
Hey folks,
Currently we ship our software, call it Acme Inc., through container images, that connect to external PG instances.
How can we work with the following scenario:
- Users use
Acme_Inc@v0.0.1 - Migrations are executed on container init
- Users spin up new container
Acme_Inc@0.0.2 - Migrations are applied
- Something breaks in the logic and they decide to re-use
Acme_Inc@0.0.1
Does the CLI knows that the migrations now should perform a down operation? Or are we responsible to perform this? If so, how would you recommend approaching this?
I tried to find something in the docs, but the only thing I could find was that you just keep track for versions used.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment