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

Re : UpdateSQL: Unique Constraints before ForeignKeys

It just happened to run in that order. I changed the standard behavior to create the unique constraints first in 3.0.8.Nathan

View Article


Re : relativeToChangelogFile for loadData?

The link is https://liquibase.jira.com/browse/CORE-549It is currently scheduled to be added in 3.1 and I'm hoping to get it added. I'm hoping to have 3.1 out in the next couple weeks. Nathan

View Article


Re : LB 3.0.7 against MSSQL: Precondition tableExists not handled

I created https://liquibase.jira.com/browse/CORE-1636 to track the bug.Nathan

View Article

Re : Liquibase Hibernate and composite-id

It must not be handling that correctly. Liquibase reads the metadata provided by hibernate, but composite IDs are probably an edge case not handed correctly.I created...

View Article

Re : Can we include a file in rollback?

If you have an XML changelog file, you can use the <sqlFile> tag in your <rollback> block to reference an external file.In formatted SQL, there isn't a way currently to call out to an...

View Article


Re : generateChangeLog does not create auto_increment correct with its unique...

What liquibase version are you using?Nathan

View Article

Re : Data type conversion matrix - table of LiquibaseDataType to...

That is something that is on my short list of things to implement and document, but hasn't been done yet. I'm hoping to get to it in the next couple weeks.Nathan

View Article

Re : Nullable constraint without a constraint tag?

It's a problem with the sample changelog. The nullable needs to be in the constraint tag.Nathan

View Article


Re : generateChangeLog does not work with enum

This should be working better in the upcoming 3.1 release. For now you will have to manually fix it.Nathan

View Article


Re : sqlFile tag not expanding placeholders

This seems to be buggered again in 3.0.7 - placeholders are not being replaced in included sqlFile's.

View Article

Re : generateChangeLog does not create auto_increment correct with its unique...

Liquibase Version: 3.0.7

View Article

Re : CustomSqlChange: how access database metadata ?

Actually I want to get the name of a unique constraint by specifying the table and the column name.With table and column information my CustomSqlChange was able to drop an unique constraint without...

View Article

Re : CustomSqlChange: how access database metadata ?

Implementation that was wiorking witth liquibase 2 :import liquibase.change.core.DropUniqueConstraintChange;import liquibase.change.custom.CustomSqlChange;import liquibase.database.Database;import...

View Article


Default-Value of Timestamp and Set/Enum (Maybe others) not enclosed

Hi,I don't know if you could name it a bug in generateChangeLog or in migrate but in combination on a table which has either Timestamp (MySQL) columns or Enum/Set (MySQL) columns, the default value in...

View Article

Columns are properly enclosed in MySQL

Hi,if you have columns in MySQL that needs you to enclose their names in the create table statement, they are not properly enclosed in the migrate command.Example:CREATE TABLE test (`val:ue` INT);will...

View Article


Length of Keys is not generated by generateChangeLog

Hi,if you have a Key over a specific length (which is obligatory sometimes e.g. if you create an index on a text-column) the generateChangeLog-command does not export the length. It might be, that it...

View Article

Re : Liquibase Hibernate and composite-id

Thank you!Ok, I hope it will be fixed in future revisions. 

View Article


JSON XML

Bidirectional conversion of JSON <==> XML seems off.Given the following insert changeSet in JSON from the source:{    "databaseChangeLog": [        {            "changeSet": {...

View Article

Re : How to rollback a specific changetset

Thanks Nathan.

View Article

Re : Generating SQL file per changeset

Thanks Nathan.Trying to sort out few more issues. Any help will be greatly appreciated.1) While generating SQL file using updateSQL - it does not include commit statement. Is there any way to include...

View Article
Browsing all 2993 articles
Browse latest View live


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