How to set diffChangeLogFile parameter when “mvn liquibase:diff”?
I run "mvn liquibase:diff" and already configure the diffChangeLogFile, but the diffChangeLogFile file just have the head information.(like below) But I run the liquibase diff in the command line way...
View ArticleRe : How to set diffChangeLogFile parameter when “mvn liquibase:diff”?
Hard to say based on just this snippet of the POM. One thing that I notice is that in your POM you have execution/configuration/changeLogFile set as well as execution/configuration/diffChangeLogFile...
View ArticleLiquibase Rollback Error for Multi-Line Rollback Script
Hi, I'm getting an error when I attempt to roll back this sample script (below). Is this the correct way to format multi-line rollbacks? We've played with splitStatements, but no luck. Next we'll...
View ArticleIs there a way to add lock from command line?
Hi, our development lifecycle includes the following steps: 1. create a clean DB 2. copy the schema + subset of data from prod 3. run liquibase update Step 2 takes something like 2 hours, and the...
View ArticleAdd logLevel=sql
Hi, I would like to be able to run liquibase commands with --logLevel=sql. I would like it to display every SQL it runs (like in updateSQL) At the moment I can only achieve this by running liquibase...
View ArticleRe : How to set diffChangeLogFile parameter when “mvn liquibase:diff”?
Thanks a lot for your answer. I removed the diffChangelogFile parameter, then the output show the two db is same. But in fact, the two db is different. In the same time, it shows correct diff...
View ArticleRe : Liquibase Rollback Error for Multi-Line Rollback Script
We figured out a workaround, which is to put the entire create function code on one line, in one "rollback" statement. Ugly, but it works. :) --rollback CREATE OR REPLACE FUNCTION a_number() RETURNS...
View ArticleRe : How to set diffChangeLogFile parameter when “mvn liquibase:diff”?
I figure out it. It works after I changed the "liquibase-maven-plugin" from 3.2.1 to 3.0.7.
View ArticleRe : Referring to s for
I've generally just left all the references in the changelog under the assumption that processes around files in version control would ensure nothing is changed unexpectedly. That being said, you can...
View ArticleRe : Is there a way to add lock from command line?
There isn't a command line prompt to lock the database, but I could see it being helpful. I created https://liquibase.jira.com/browse/CORE-1980 so the feature doesn't get lost. For now, you could call...
View ArticleLiquibase upgradation from 2.1 to 3.1
hi we have been trying to upgrade from Liquibase 2.1 to 3.1 when our installer runs it gives following error and our databasechanglog script do not execute: SEVERE 7/24/14 2:21 PM:liquibase: Cannot...
View ArticleRe : Add logLevel=sql
That is good idea, I created https://liquibase.jira.com/browse/CORE-1983 to track it. I'm currently working on a large refactoring of the SQL processing and execution logic which should include better...
View ArticleRe : Liquibase Rollback Error for Multi-Line Rollback Script
I don't think you can avoid the statement-splitting in formatted sql rollback currently. I created https://liquibase.jira.com/browse/CORE-1984 to track the fix. Nathan
View ArticleRe : Liquibase upgradation from 2.1 to 3.1
You are getting an IncompatibleClassChangeError which usually means something needs to be recompiled. Have you tried fully rebuilding your application with the new liquibase 3.1.1 version? There have...
View ArticleRe : How to set diffChangeLogFile parameter when “mvn liquibase:diff”?
Good, always nice when the bug is already fixed :) Thanks for the update. Nathan
View ArticleRe : Liquibase upgradation from 2.1 to 3.1
Thanks Nathan! Its not that the files are not compiling. our build process does not give any issues. the problem is coming when the installer tries to execute liquibase update. Installer works fine...
View ArticleRe : precondition problem mysql
Just tried latest version, I am still getting the error. liquibase: liquibase.statement.core.CreateSequenceStatement is not supported on mysql, but createSequence will still execute SEVERE:...
View ArticleExtension migration validation issue 3.1.1 -> 3.2.2
Hello, I'm not quite sure if this is a bug, but at least it is a quite strange issue: I have written an extension which ran without any problems on Liquibase 3.1.1. I switched to Liquibase 3.2.2 and...
View ArticleRe : Liquibase upgradation from 2.1 to 3.1
Hi Nathan I tried upgrading to 3.2.0 but I think there have been major changes to ResourceAccessor. I am facing issues while compiling. I am having issues in following method getResourcesAsStream....
View Article