Quantcast
Channel: Liquibase Forums
Browsing all 2993 articles
Browse latest View live

Re : Formatted SQL with a comment.

It looks like it needs a ":" after --comment --comment: INSERT TABLE I put in a fix for 3.3.1 to make the colon optional. Nathan

View Article


Re : Error executing SQL --rollback drop table test: Invalid SQL type:...

No problem, glad you straightened it out. I should add code to detect formatted sql file with sqlFile to reduce confusion. Nathan

View Article


Re : MySQL 5.6 keywords `partition' not quoted as a column name

Thanks. I added CORE-2136 and the fix will go out with 3.3.1. Nathan

View Article

Re : Liquibase 2.0.5 does not seem to commit between changesets against MySQL...

The current codebase has removed the childDropChanges attribute. Are you able to do a local build where you remove the attribute and keep childDropChanges as a local variable in generateStatements? You...

View Article

Re : Formatted SQL with a comment.

Adding a ":" works, thank you very much Nathan. Here is my formatted sql that works: $ cat ddl/test.sql --liquibase formatted sql --changeset ascii:001 --comment: Table for testing purposes create...

View Article


Re : MySQL 5.6 keywords `partition' not quoted as a column name

Great, When do you plan to release the 3.3.1 ? Evgeny

View Article

Re : MySQL 5.6 keywords `partition' not quoted as a column name

Working though the open issues and testing the standard extensions. It will probably be Monday or Tuesday. There are snapshot builds available from https://liquibase.jira.com/builds/browse/CORE-LB4 if...

View Article

Problem with Preconditions in Version 3.3

today I tried to migrate one of our mysql databases. In my changelog there is 1 changeset with precondition columnExists. After all migration took 40 minutes to complete its work. After I monitored...

View Article


Re : Problem with Preconditions in Version 3.3

I am starting to look at ways to improve the general snapshot process with 4.0. For the upcoming 3.3.1, I did make a couple changes that may help. I'm only seeing one SHOW FULL TABLES now and it...

View Article


Multiple inserts in sqlFile do not fail as expected

We are using SqlServer with sqlFiles, and were testing the failure behavior. We expected a bad insert (string into an int col) to fail the changeSet and not write the record into the DATABASECHANGELOG...

View Article

Liquibase 3.3 : insert SYSDATE into DATE field fails with 'ora-01858'

Hello I've just upgraded to liquibase 3.3 (was in 1.9.5) because logging in debug mode didn't work. Now logging works but I spent a lot of time to find why inserting the current date in a date field...

View Article

Calling sql scripts with some parameters

Hi,I'm using Oracle CDC for which I have scripts to add columns, create tables...  With liquibase (3.3) I have to call those scripts with the  <sqlFile> tag. I can call them while I'm connected...

View Article

Re : Allow multi-schema database installations without need for elevated...

I have 4 db_users (on different oracle instances) and uses Ant to call 4 targets. So I call 4 times liquibase having for each a connection and separate changesets files. As I manage scripts by versions...

View Article


Re : Calling sql scripts with some parameters

Same thing to be able to change for example the tablespaces used depending on the target database: <createTable tableName="THE_TABLE_NAME" tablespace="${ONE_TABLESPACE}"> with MY_TABLESPACE name...

View Article

javadoc for liquibase 3.3

I am trying to view the javadoc for liquibase 3.3. http://www.liquibase.org/javadoc/ is showing me javadoc for release 3.2.

View Article


Re : Calling sql scripts with some parameters

Liquibase does have changelog parameter support (http://www.liquibase.org/documentation/changelog_parameters.html) which should work for both attributes in the XML and in sqlFile.  How you set them...

View Article

Re : Liquibase 3.3 : insert SYSDATE into DATE field fails with 'ora-01858'

Are you using an <insert> tag? Or is it a raw <sql> block? Nathan

View Article


Re : javadoc for liquibase 3.3

Sorry, updated now.Nathan

View Article

Re : Multiple inserts in sqlFile do not fail as expected

Liquibase should try to start a transaction at the beginning of the changeSet and only commit it and the insert into databasechangelog at the end. Could you post an example of the files you are using?...

View Article

Re : Multiple inserts in sqlFile do not fail as expected

Test files attached.

View Article
Browsing all 2993 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>