liquibase Questions

1

I have a changeset wherein I initially check if the unique constraint exists and then if it does it will drop the constraint. <changeSet author="loren" id="DROP_UNIQUE_CONSTRAINT_RULEPRIORITY...
Factoring asked 26/10, 2016 at 7:41

3

I'm currently trying to add comment on tables in liquibase 3.1.1 What I want to do is ALTER TABLE t1 COMMENT = 'New table comment'; I didn't find any help in the documentation of liquibase about ...
Toga asked 24/11, 2016 at 9:41

0

In kubernetes environment I placed all liquibase changelog files in ConfigMap which than referenced to volumeMount as follows: ... volumeMounts: - name: my-vol mountPath: /liquibase ... volumes...
Unriddle asked 19/6, 2023 at 8:29

2

Solved

When I start my application it fails with this message saying that the classpath for the changelog file does not exist: Description: Liquibase failed to start because no changelog could be found a...
Patricepatrich asked 22/8, 2021 at 17:31

5

How to manage schema migrations for Google BigQuery, we have used Liquibase and Flyway in the past. What kind of tools can we use to manage schema modifications and the like (e.g. adding a new colu...

4

I added a column to an existing table using Liquibase changelog, and I set the nullable constraint to true. Code: <changeSet id="10" author="000000"> <addColumn tableN...
Megargee asked 13/2, 2017 at 22:27

4

Solved

Currently I have a setup like below. On running the batch job locally the job will create the necessary metadata tables automatically using the data-source property values since initialize-schema i...
Onitaonlooker asked 12/11, 2019 at 22:13

4

I was using Spring Boot 2.6.8 along with Liquibase which works fine. This is used with a MySQL database when running in production. For integration tests we run it against a H2 in memory database. ...
Russianize asked 24/5, 2022 at 10:41

10

This is what my column looks like <column name="name" type="VARCHAR(255)"> <constraints nullable="false" unique="true"/> </column> I want to remove unique=true constraint. ...
Prolific asked 21/7, 2014 at 18:53

3

Solved

I want mock data for integration tests by liquibase changeset, how to make that to not affect real database? I found partial idea from here, but I am using springboot and I hope there is simpler so...
Siddon asked 31/10, 2017 at 13:6

3

Solved

I'm trying to setup the database schema and some test data with liquibase for some tests. Each test has a separate changelog which setup the schema and some specific data for the test. In order to...
Restitution asked 14/3, 2016 at 20:55

3

Solved

Im trying to change a project a bit, by upgrading it with Liquibase. Its a Java EE project. So im using the liquibase-maven-plugin. So far i have in my pom.xml: <plugin> <groupId>or...
Baptistry asked 24/1, 2013 at 12:24

1

Solved

I am considering using Liquibase for versioning database migrations for my Spring Boot API. I have been watching some videos about it before considering it and I find that they talk mostly about se...
Smoothtongued asked 23/3, 2023 at 18:1

3

Solved

I'm using Spring Boot and liquibase for database migrations and refactorings. I'm having some exceptions (mostly database exception) in my changesets every now and then, but liquibase shares too l...
Ticknor asked 5/5, 2015 at 8:5

4

Solved

I want to update the type of a column named "password". At the moment it has type NVARCHAR(40) and I want it to be of type NVARCHAR(64). This is what I did: <changeSet id="1 - change password l...
Scallop asked 12/9, 2013 at 13:3

0

I have a problem about detecting db.changelog-master.xml in Spring Boot app through Liquibase. When I run the app, I get this issue shown below. *************************** APPLICATION FAILED TO ST...
Folkestone asked 20/2, 2023 at 14:33

4

Solved

So starting a new project and i want to use r2dbc and webflux, been looking into what support there is to handle database migration. The last answer i could find here was from july 2019 that liquib...
Vertebral asked 24/6, 2020 at 12:38

5

Solved

I'm trying to use liquibase to track changes to a postgresql database using dropwizard-migrations. I'd like to be able to run the migration on the existing production database instead of rebuilding...
Unshackle asked 13/9, 2013 at 22:31

2

Solved

There is a liquibase parameter in Spring boot, let's say: spring.liquibase.parameters.val1 = value1 I want to use this parameter in a sql file like this: insert into table1 (name, value) values (...
Mcphail asked 24/1, 2023 at 20:13

3

Solved

I'm stuck with a silly but annoying problem with implementing Liquibase to my existing project. After a lot of struggling I got it to work when starting the application, it runs through the master ...
Vitiated asked 5/6, 2020 at 21:11

7

Solved

I have two tables declared as follows: <changeSet author="istvan" id="country-table-changelog"> <createTable tableName="country"> <column name="id" type="uuid"> <constraint...
Medici asked 21/2, 2017 at 7:42

3

Solved

I'm developing a system with database version control in LiquiBase. The system is still in pre-alpha development and there are a lot of changes that were reverted or supplemented by other changes (...
Rue asked 12/12, 2017 at 10:39

1

Solved

After upgrade to spring boot 3, liquibasebase throws error liquibase.exception.UnexpectedLiquibaseException: java.io.FileNotFoundException: JAR entry db/scripts/dml/importstatus.sql not found the c...
Ledge asked 9/1, 2023 at 15:21

5

Solved

I need to map two columns of entity class as json in postgres using spring data jpa. After reading multiple stackoverflow posts and baeldung post , How to map a map JSON column to Java Object with ...
Boulder asked 28/12, 2020 at 13:26

4

Solved

I am using Liquibase and would like to execute the same script in two different variants (production and tests): <changeSet author="..." id="..."> <insert tableName="..."> <colum...
Our asked 11/11, 2015 at 7:53

© 2022 - 2025 — McMap. All rights reserved.