Re : How to reference new change in xml file
You should be able to have nested nodes in the xsd namespace. It is basically a "I accept whatever" xsd. Nathan
View ArticleRe : CreateView and schema
If you are wanting to inject variables into the body of the view, the best approach is probably to use changelog parameters. http://www.liquibase.org/documentation/changelog_parameters.html That will...
View ArticleRe : Seems like runOnChange or runAlways is default in 3.2.2
Hi Nathan, I appreciate the response in the extreme. The changeset was definitely re-executing though it's useful to know that this causes the validation errors as well. One thing we noticed, after...
View ArticleRe : Upgrading from 2.0.5 to 3.2.0 - Problem with preConditions ?
Thanks for the info, I'll look into it more. I'm working on a large refactorign of the snapshot/precondition logic for 3.3 that will hopefully improve things. Nathan
View ArticleRe : Collation support?
There is still nothing built in, although it would be possible to write an extension to support it. Since collation tends to be database-specific I probably won't put it in the main library, but the...
View ArticleRe : Seems like runOnChange or runAlways is default in 3.2.2
Are the changes based on the SQL <sql> or <sqlFile> changes? Or are they <alterTable> and other changes? The IDs matching the filenames shouldn't matter. They are just treated as...
View ArticleRe : Seems like runOnChange or runAlways is default in 3.2.2
Hi Nathan, Below is a 'sanitized' changelog that was re-running every time. The databasechangelog showed this as "EXECUTED" and the filename/author/id had not changed. It just fails on subsequent runs...
View ArticleRe : Howto set/override changeset description
I understand @DatabaseChange when I run my tag the contents of @DatabaseChange.name wind up in the database changelog description. What I want to do is place the change name and the value on 1 or 2...
View ArticleaddNotNullConstraint doesn't work with mysql
I use Liquibase 2.0.5, here's snippet from my config: <addNotNullConstraint columnDataType="VARCHAR(64)" columnName="permissions"...
View ArticleRe : Generating Change Logs for Stored procedures, functions, packages and...
Thank you Robert, Looking forward to hear from Nathan on his ideas.
View ArticlemodifySql ignoring isApplyToRollback() property (again?)
Using 3.1.1, 3.2.2 and the current 3.3.0-SNAPSHOT, I recently tried to have custom SQL appended to a create table statement but not to the associated rollback. The custom SQL in the append element is...
View ArticleRe : modifySql ignoring isApplyToRollback() property (again?)
Ok... replying to my own post above... After a bit more digging I see that the AbstractJdbcDatabase.executeRollbackStatements contains the changes submitted as part of CORE-457. However, that code...
View ArticleLiquibase-mysql
liquibase is not working well with mysql-java-conector version 5.1.28 It is working with 5.1.18 version connector issues i found with liquibase 3.2.2 and mysql-java-connector 5.1.28 -- trying to create...
View ArticleMicrosoft Azure SQL DB - issue updating with a changelog xml file
Hi Guys, I wanted to log this as a bug in Liquibase Jira but it would not allow me to create an account because my email address is an invalid domain. When I run a changeLog XML file against a...
View ArticleNullPointerException when running generateChangeLog using MySQL and Liquibase...
I am trying to generate a changeLog using an already existing database so I can begin using Liquibase from this point forward. When running the command liquibase --changeLogFile=changelog.xml...
View ArticleNeed help with using Liquibase with Teradata 14
This is what I have been trying to run: liquibase --driver=com.teradata.jdbc.TeraDriver --classpath=D:\Teradata\TeraJDBC__indep_indep.15.00.00.20\terajdbc4.jar --changeLogFile=db.changelog.xml...
View ArticleRe : NullPointerException when running generateChangeLog using MySQL and...
Looking at the source code mentioned in the stack trace, I see this at liquibase.diff.output.changelog.core.MissingForeignKeyChangeGenerator.fixMissing(MissingForeignKeyChangeGenerator.java:43)...
View ArticleRe : NullPointerException when running generateChangeLog using MySQL and...
Thanks for the input Steve. I completely agree with what you said, but I'm using the root account, so permissions shouldn't be an issue, and I just checked every restraint found in...
View ArticleRe : NullPointerException when running generateChangeLog using MySQL and...
Ok, so I was able to track it down. It was a missing table. When I was checking I must have been matching to the wrong column, I thought I was checking the tables the foreign keys were referencing, but...
View ArticleLiquibase api core log messages not printing
I am working in the liquibase core jar maven for doing the changes in my database. I want to print the Log that was generated in Liquibase core api to my own console. I am executing the Liquibase as a...
View Article