Replies: 1 comment
-
Hi, the fully automated solution might be something like this:
Alternatively, you can manually trigger the db rollbacks, e.g. add something like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's suppose pipeline which automatically create new release on new git commit via CI/CD system. We have a release which change database schema via migration library (like go-migrate). Migration apply successfully, but an application has some bug and we want to rollback release, which assumes apply down migration files to return database scheme before release. We revert latest commit via git revert. But reverting commit delete down migration files. Are there any recommendations for returning back database scheme on rollback release which has a database migrations?
Beta Was this translation helpful? Give feedback.
All reactions