How to make sure at least one context is selected?
Hi all,I have a changelog which adds partitioning to an Oracle table for non-XE databases and omits it otherwise (since Oracle does not allow partitioning for dev XE databases). In order to have...
View ArticlePostgreSQL timezone format
Hello,I'm creating an schema and after I'm generating with liquidbase the changelog.All the conversion is perfectly accurate but timezone.I'm executing manually:CREATE TABLE my_super_secret_table_name(...
View ArticleSetting liquibase.schemaName (or is it liquibaseSchemaName?) from the command...
I'm basically having the same issue found here. Nothing I do seems to alter the location liquibase looks for the DATABASECHANGELOG..\liquibase.bat --defaultsFile=update.xml --logLevel=DEBUG...
View ArticleGenerates changelog but noting inside
Hi All,I am connecting to Sybase ASE 15.7.0.101 and using liquibase to generate changelog .It is generating changelog with nothing inside..What can go wrong?
View ArticleRe : TEXT type in MySQL
Same problem with TIMESTAMP, liquibase always converts TIMESTAMP to TIMESTAMP WITH TIME ZONE . Here is how I fixed it. I added a <modifySql> tag to your change set, like below....
View ArticleRe : TEXT type in MySQL
So, something like <replace replace="LONGTEXT" with="TEXT"/> for that particular changeset should fix your problem.Zoom
View ArticleRe : includeAll relativeToChangelogFile generates absolute path
Is your "." directory in your updateDatabase classpath? It looks like Liquibase only can find the file using the filesystem-based locator which is trying to normalize the paths.I created...
View ArticleRe : CustomSqlChange: how access database metadata ?
Sorry for the slow response. Did you find a solution or should I write up an example?Nathan
View ArticleRe : Inserting a CLOB
It looks like the XSD is complaining about the valueClob attribute. Make sure the XML header has the most liquibase XSD version listedNathan
View ArticleRe : Track db manual changes without reference db?
You aren't able to compare a database against a changelog. A big reason is because people often use <sql> blocks and we don't try to parse that to know what is really going on.What I normally...
View ArticleRe : PreConditions not working with outputfile
In updateSql mode the changelog-level preconditions should fire, but the changeSet level ones normally cannot. The reason for that is because if the previous changes are not actually executing it is...
View ArticleRe : Avoid bracket generation
I understand the problem.I created https://liquibase.jira.com/browse/CORE-1683 to track the asc/desc logic.I also created https://liquibase.jira.com/browse/CORE-1684 to track improvements to...
View ArticleRe : [LB1.9.3] Internal datatype conversion to target databases
Hi,We want to use Liquibase to maintain scripts for a product towards Oracle and DB2-i database. We are now at a point that we need to decide whether to - maintain a generic set of change scripts, and...
View ArticleSecond update action on iSeries fails : cannot find DatabaseChangeLog
Hi,I created a schema on iSeries, with the SQL command (not the CRTLIB command).I run Liquibase (3.0.7) for a first updateliquibase --driver=com.ibm.as400.access.AS400JDBCDriver...
View ArticleRe : Second update action on iSeries fails : cannot find DatabaseChangeLog
Hi,I debugged this and apparently one can resolve this by defining the DB2iDatabase as "able to support schemas". @Override public boolean supportsSchemas() { return true; }But I have...
View ArticleRe : Support for vFabric SQLFire database
I have been working with the latest version of liquibase (3.0.8) and sqlFire driver (1.1.1) I had to make one small change null pointer check to the DerbyDatabase close() method and everything works...
View Articlegeneratechangelog creates changelog with most tables without column
Hi, I have an existing SQL Server 2008 R2 database with many tables. The generatechangelog command (I am running via Maven, if that helps) generates the list of all tables, with primary keys, indexes...
View Article