Re : Merging ChangeSets
I developped a simplee piece of code which is able to handle this requirement. First, I describe with a config file, that ChangeSet C is equivalent to ChangeSet A + ChangetSet B Then, at runtime, prior...
View ArticleRe : Create Index and order
I've submitted a pull request that will make it possible to specify descending key columns not only for indexes, but also for primary keys and unique constraints. This will even work on databases with...
View ArticleParse sql script
Hi all, i want to parse a sql file, which contains for example "CREATE TABLE [Meeting] ([pkMeeting] INT NOT NULL, [Name] VARCHAR(50), CONSTRAINT [PK_tblMeeting] PRIMARY KEY ([pkMeeting]));" , over...
View ArticleRe : Parse sql script
I think you are asking if Liquibase can parse SQL - the answer is no, it cannot. It is able to generate SQL (customized for each of the different database platforms it supports) starting from a more...
View ArticleMySqlSyntaxErrorException: table already exists
I have seen several related questions and their answers, but it is not helping my case. I have a Spring boot application, where I have created entities using Jhipster, plus I have added some manual...
View ArticleRe : Date and Time types for MSSQL
CORE-2217 Â which is due for Liquibase 3.4.0 will vastly improve support for SQL Server data types including these date/time types. I've added a rigorous test suite that encompasses all built-in types....
View ArticleRe : Liquibase doesn't honor type modifiers
This will be fixed in 3.4.0 with CORE-2300 . There's now a test case that will prevent it from breaking. See pull request #401 .
View ArticleRe : Liquibase doesn't honor type modifiers
@mches That pull request only deals with UNSIGNED modifiers, not ZEROFILL.
View ArticleRollback to changeset - does changeSetPath work?
I'm trying to roll back using a previous changeset, i.e. <rollback changeSetId="mychangeset" changeSetAuthor="elvisp" changeSetPath="changelogs/xxx/testchangelog.xml" /> The changeSetPath doesn't...
View ArticleManaging database snapshots with liquibase
I'm dealing with following scenario:I have two types of databases with different purposes: demo and dev. I'm maintaining the changelog file with all DDL changes and some technical data changes (My...
View ArticleHow to generate changelog of data for selected tables only?
Hi All, Is there any way Liquibase can generate changelog of data for selected tables only? I need to create a baseline of data that are only for reference. Thanks :)
View Article"rollback" feature using "SQL formatted output" does not work as expected in...
I am facing an issue with using the "rollback" feature in a "formatted SQL output" file. My SQL file consists of the following changesets: CS1 = Create table with a rollback to drop table CS2 = Create...
View ArticleRe : "rollback" feature using "SQL formatted output" does not work as...
Looks like I found an answer to my 1st question "Are empty rollback statements not allowed in "SQL formatted output"" "--rollback not required" is what I need. See the following discussion for more...
View ArticleLiquibase-3.3.0 -- not working with JBoss vfs
Hi I have been using Liquibase 2.0.2 and it has been great! Thanks for the wonderful tool. However, after upgrade to 3.3.0, liquibase start to fail on JBoss EAP 6, when trying to load osgi jar file. I...
View ArticleSupport for descending key columns on indexes, unique constraints and primary...
I have implemented a pull request PR#407 which adds support for descending key columns on indexes, unique constraints and primary keys. The change log functionality works as expected. I started...
View ArticleError when trying to generateChangeLog : ORA-00942: table or view does not exist
I'm trying to generate a change log for a schema on a database. I get an error, but can't figure out what the problem might; there is no detail in the message. The schema contains tables, views,...
View ArticleRe : Error when trying to generateChangeLog : ORA-00942: table or view does...
Looking at the code for CatalogSnapshotGenerator.getDatabaseCatalogNames and what calls that, here is what is happening, and what I suspect may be the problem. 1. In order to generate a changelog, what...
View ArticleWorking on setting up new Database (NuoDB) on liquid base
Hi, I am completely new to LiquidBase. I am working on setting up NuoDB on LiquidBase. NuoDB is a relational database which can be scalable and it has several other features. Please help on how to...
View ArticleRe : Error when trying to generateChangeLog : ORA-00942: table or view does...
Hi, thanks for the explanation. Is there any work-around? We are in a environment where we can't get such grants (dba or close is not possible). Developer tools (toad, sql developer) appear to be able...
View Articledatabasechangelog.csv: wrong format in latest git?
I programmatically generate sql by calling update(..., writer) in combination with a OfflineConnection. This has worked great until recently. With the latest update from git, I get:...
View Article