-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add changelogSyncToTag and changelogSyncToTagSQL commands #1133
Comments
hey @suilven -- intriguing idea. Are you thinking something like running then adjusting your connection to point to a, say, v3 of the db, and run |
Hi @mariochampion - I've just created a PR with my proposed changes. No modification of the changeSets is required. Imagine you had different versions of the same schema used in several different production databases. You want to start using Liquibase to version those schemas. At some point you generated a Liquibase changeLog for your schema and added a tag. Lets say that was version |
➤ Erzsebet Carmean commented: @suilven, hello! Thanks for filing the issue and creating a PR. -erz (XDelphiGrl) |
➤ Erzsebet Carmean commented: Can the Community Engagement team please assess risk for the PR? This will allow me to give QA estimates. Thanks! CC :: |
➤ Mario Champion commented: hey internal reviewers, the linked PR is against master, so this ticket gets resolved with that one in the 4.0 beta 2 release. |
➤ Erzsebet Carmean commented: 🚩 Flag added I'm flagging this for discussion in our internal Conditioning meeting. I'm unclear as to the risk level and QA involvement. -erz (@ XDelphiGrl) CC: [~accountid:557058:c8f0b24d-f02f-431c-8842-fd9c929dfbf2] |
The
changelogSync
andchangelogSyncSQL
commands are very valuable when adding Liquibase support to an existing, unversioned database. The changelogSync command adds thedatabasechangelog
table to the schema and marks all the changeSets in the changeLog as ran. Often, however, there are different versions of the schema already in the wild, so the ability to mark as ran only those changeSets up to (and including) a given tag would be very useful.Use Case (copied from comments)
Hi mariochampion
Automation Test Requirements
The text was updated successfully, but these errors were encountered: