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

Reply via email to