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

Re : Edition Based Redefinition from Oracle and liquibase plugin 3.8.1

Thanks! Datical, the company I work for, has recently committed more resources to maintaining Liquibase. One area we are putting more efforts into is the documentation, so if there are specific areas...

View Article


loadData + CSV + computedValue

Hi,we are inserting bunch of data using CSV and have generated IDs everywhere.To insert records that reference other records there is possibility to use computedValue.This works just fine when using...

View Article


Re : Detecting Failed Change Sets During automated build process

Hi Erik - just wondering if you are still experiencing this issue with current versions of Liquibase, and if so, what version and database you are using?Steve DoniePrincipal Software EngineerLiquibase...

View Article

is it possible for @liquibase to auto-generate changeset Id's? The ID field...

is it possible for Liquibase update command to auto-generate changeset Id's e.g. when they're omitted / left blank?The ID field in [DATABASECHANGELOG] is NVARCHAR(255), which means there's plenty of...

View Article

Re : is it possible for @liquibase to auto-generate changeset Id's? The ID...

Can you share your changelog and how you are executing Liquibase? I tried creating an XML changelog with no id field on any of the changesets and run the update command from the console and got what I...

View Article


Re : What's the proper way to conditionallly create a view?

 Change the dbms attribute will not affect the checksum of a changeset. This is also true for the labels and contexts attributes. Thanks! Good to know.That means I can extend the changesets to new...

View Article

Empty db.changelog.yml

HiCurrently i have an PostgreSQL database, i have added liquibase 3.8.2 to dynamically add new tables or new fields in existing table. That's Ok when in my tests i add includeBut if i remove my tests...

View Article

Re : Empty db.changelog.yml

It sounds like you are on the right track. If you have an existing database and want to start using Liquibase to manage changes, then using the generateChangeLog command to create the initial changelog...

View Article


same configuration file for Liquibase Maven Plugin and Spring Boot yaml

HiCurrently i have two configuration files, one propertie file for liquibase maven plugin and another yaml file for my SpringBoot applicationDo you have an idea or solution to have only One...

View Article


Re : same configuration file for Liquibase Maven Plugin and Spring Boot yaml

I don't think there is an option with the current version of the liquibase plugin to have it get configured from a Spring Boot yaml file. I don't know enough about Spring Boot to know whether it can be...

View Article

Copy database schema created by liquibase into another database by java code

Hi,I have a database A created using liquibase changeset. Now, it's possible to create another database B and to initialize that database similar to database A schema.How can that be achieve using...

View Article

Re : Copy database schema created by liquibase into another database by java...

I saw your question on StackOverflow as well. As the commenters said, it isn't clear exactly what you are trying to do here. If you have database A and database B, it seems to me you would just run...

View Article

Re : Copy database schema created by liquibase into another database by java...

Hi Steve,Sorry for the confusion I may have cause.Let me try to explain the workflow:We initialize a new database a schema using liquibase changeset.We can add a new table and field to database a at...

View Article


Re : Copy database schema created by liquibase into another database by java...

OK, I understand. If I was an architect on your project I would suggest that could be a bad design decision, but there is obviously I don't know about your application and why you are doing that....

View Article

Re : Copy database schema created by liquibase into another database by java...

Hi Steve,Indeed, I don't really agree with the design myself but there is a logic for doing so and this is one way of achieving the requirement given the technology and framework we have.Thanks for the...

View Article


Re : Copy database schema created by liquibase into another database by java...

Excellent. Glad to hear you got this working.Steve DoniePrincipal Software EngineerLiquibase Community EngagementDatical, Inc. http://www.datical.com/

View Article

Diff primary key index creation loop (spring boot + Hibernate 5)

When I generate the first diff. The diff file looks correct. It has the tables that we need to create. I run the app, it creates the tables (Oracle), all is good. For validation purposes I run the diff...

View Article


Re : loadData + CSV + computedValue

Hi,value[XXX] is not used for loadData / column at the moment. I've implemented the defaultValue[XXX] handling which could be used in your case once it will be merged.add the column to the CSV without...

View Article

Is there any solution for DB entity dependency handling

Hi, Some DB entities have dependencies. e.g a view / stored procedure depends on views / tables it uses. Is there a way to handle it with xml changelog? In my scenario ViewB uses ViewA. To change ViewA...

View Article

Re : loadData + CSV + computedValue

I have already created pull request for this https://github.com/liquibase/liquibase/pull/944 and have feedback that it will be merged.

View Article
Browsing all 1169 articles
Browse latest View live