Thanks for the reply Nathan. Your final comment was what I was meaning - an "update to changeset".
I wasn't proposing only a particular changeset be applied. The Liquibase docs specifically say that changesets are applied sequentially in the order they occur in the changelog. In my particular case, I need all changesets to be applied up to a particular changeset, then the appserver started to trigger some startup functionality, then shutdown, then all remaining changesets need to be applied before the appserver is restarted. I can't simply use a numeric count because different instances might be at different points in the changelog depending on when they were last updated. It would solve my problem if there were an "update to changeset" command. :-( Regards, Darryl Voxland, Nathan wrote: > > There is no way to update to a particular changeset. This is partly by > design, because we don't want you to think you are creating particular > database "versions" with each changeset, but rather listing changes that > need to be applied to get to the current state. Especially when you get > into multiple developers and/or branches, applying just one random > changeset from a changelog can be dangerous because it is assuming that > earlier ones have already been run. > > We have the update count functionality so you can step through your > changeset to debug it. It may be worth creating an "update to > changeset" command that will run all changesets up to that changeset, > but we probably shouldn't create one to jump ahead in the changeset. > > Nathan > > -----Original Message----- > From: Darryl Pentz [mailto:[email protected]] > Sent: Friday, April 24, 2009 6:54 AM > To: [email protected] > Subject: [Liquibase-user] Updating up to a changeset > > > In the docs I only see how you can update a set number of steps, but no > way > to indicate to Liquibase to update up to a specific changeset. > > I currently do a: > java -jar liquibase.jar update > > with all the relevant settings in a properties file. What I want to do > is > only update up to a specific changeset, then run another app, then do > another update which does the rest of the changesets after the one > applied. > > Is there a way to do this without using a count of steps but rather > using a > specific changeset id? > > thanks, > Darryl > -- > View this message in context: > http://www.nabble.com/Updating-up-to-a-changeset-tp23214927p23214927.htm > l > Sent from the LiquiBase - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------ > ------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Liquibase-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/liquibase-user > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Liquibase-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/liquibase-user > > -- View this message in context: http://www.nabble.com/Updating-up-to-a-changeset-tp23214927p23219595.html Sent from the LiquiBase - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Liquibase-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/liquibase-user
