Re : Liquibase SQL vs XML command changesets
You've identified many of the advantages of using the XML changelog format. Datical (a commercial extension to Liquibase) has standardized on XML formatted changelogs for many of the same reasons. As...
View ArticleAutomatic rollback support - how is this invoked for create table failure
Team,I was testing the automatic roll back support I thought was added to many of the standard XML commands automatically e.g. createTable. I did this by providing two changesets1. createTable - Name =...
View ArticleGood discussion and review of other database migration frameworks
Team,We're looking at this tool however we'd also like to make sure we review others even if this product is well supported the community. There are many others which exist however I can't find any...
View ArticleRe : Automatic rollback support - how is this invoked for create table failure
I think that the term 'rollback' as used by Liquibase is giving a mistaken idea about how it functions. This is especially true for people who work with databases all the time and think of rollback in...
View ArticleRe : Automatic rollback support - how is this invoked for create table failure
Thanks Steve,I think I see what you mean now so we can say for two changesets to tell them to simply rollback and they will know how to do this e.g. if createTable was used? That still sounds useful...
View ArticleRe : Automatic rollback support - how is this invoked for create table failure
If you continue with Liquibase, the best way to deal with this is to fix your changelog so that the problem doesn't happen again. Unfortunately, when the scenario you described happens, the database...
View Article"Cluster-safe database upgrades" liquibase benefit mentioned - what does this...
Team,I noticed this term was used Cluster-safe database upgradeson http://www.liquibase.org/Does anyone know exactly what is meant by it and how liquibase supports this through it's framework?Thanks
View ArticleRe : Contexting of include tags?
I didn't fully understand what you meant by this however did you find a solution as this thread is a year old with no responses
View ArticleRe : Contexting of include tags?
Hi, I have made a question linked to this one in the forum. I know that in version 3.5.1 it's supposed to be able to specify the context at changelog level in the include statement but I was trying...
View ArticleDealing with changing changesets within a release cycle
Team,I was interested in how most teams handle schema changes which are really fixes for earlier changesets e.g. updating the correct field value which is changed a few times within a release i.e....
View ArticleupdateToTagSQL and updateSQL
Hello,In my setup I have multiple databases managed with liquibase scripts. As I have many of the DBs I don't create DB tag for each of the databases for each of the product release (I add tag a DB...
View ArticleDeployment_id in 3.5.3
Just had a question about this feature, is deployment_id is generated automatically? Any way to control (or supply) the value? The reason I ask is, we use multiple contexts (each context represents a...
View ArticleRe : "Cluster-safe database upgrades" liquibase benefit mentioned - what does...
I think it simply means that a lock table is used to perform migrations. Thus, if 2 instances of an application execute migrations at the same time, one is performing and the other one is waiting until...
View ArticleDATABASECHANGELOG table type MyISAM or InnoDB?
I just noticed that the lock table is created with InnoDB engine type, and DATABASECHANGELOG with MyISAM.Is this a problem on my side, or intentionally?
View ArticleIncludeAll runs twice once with logical path and once with absolute path
Hi,I am using Liquibase Version: 3.5.3 and when I used the includeAll, all scripts in that folder were run twice. Once with absolute path and once with relative. I tried all options like...
View ArticleLiquibase creates log tables with user schema
When implementing liquibase on Sql Server. Below tables are created on USER schema not with DBO schema. Not sure how to fix this. AMAR.DATABASECHANGELOGAMAR.DATABASECHANGELOGLOCKIt shoule be...
View Article--liquibaseSchemaName doesn't work with Postgres
I am trying to move the liquibase tables into a different schema using the parameter --liquibaseSchemaName, e.g using --liquibaseSchemaName=liquibaseThis works for the initial creation of the tables...
View ArticleRe : --liquibaseSchemaName doesn't work with Postgres
I just saw that there is already a version 3.5.3 which seems to have fixed this bug (I was testing with 3.5.1)Sorry for the noise
View ArticleRe : IncludeAll runs twice once with logical path and once with absolute path
I'm not sure however I'd suggest firstly adding verbose debug logging. Then you could debug in DatabaseChangeLog.java public void includeAll(String pathName, boolean isRelativeToChangelogFile,...
View ArticleRe : "Cluster-safe database upgrades" liquibase benefit mentioned - what does...
Yes although it would seem odd for two separate processes to be attempting to process upgrades against the database at the same time.
View Article