liquibase-sql

Understanding the behaviour of logicalFilePath in liquibase

删除回忆录丶 提交于 2020-06-08 20:07:50
问题 One of my changesets had a logicalFilePath which was incorrect(two changesets accidentally had the same logicalFilePath) and upon editing the logicalFilePath in an existing changeset, liquibase update failed with an error of duplicate column, which would mean that liquibase thought the changeset to be not executed and re-ran it. Does liquibase identify if a changeset has already been executed based on the 'EXECUTED' flag or the combination of 'id','author' and 'logicalFilePath'? Also, how do

Understanding the behaviour of logicalFilePath in liquibase

瘦欲@ 提交于 2020-06-08 20:07:06
问题 One of my changesets had a logicalFilePath which was incorrect(two changesets accidentally had the same logicalFilePath) and upon editing the logicalFilePath in an existing changeset, liquibase update failed with an error of duplicate column, which would mean that liquibase thought the changeset to be not executed and re-ran it. Does liquibase identify if a changeset has already been executed based on the 'EXECUTED' flag or the combination of 'id','author' and 'logicalFilePath'? Also, how do

liquibase checksum validation error is even after updating changelog in master.xml

痴心易碎 提交于 2019-12-24 19:36:01
问题 I am using postgresql in jhipster microservices application. I am following jhipster documentation as below. Database updates with the Maven liquibase:diff goal If you have choosen to use MySQL, MariaDB or PostgreSQL in development, you can use the ./mvnw liquibase:diff goal to automatically generate a changelog. If you are running H2 with disk-based persistence, this workflow is not yet working perfectly, but you can start trying to use it (and send us feedback!). Liquibase Hibernate is a

Liquibase - Generating Change Logs

柔情痞子 提交于 2019-12-11 06:26:47
问题 I want Liquibase, to generate a changelog, from this DB 'testing'. Is it possible? I have an existing database already, with its tables and data inside. jdbc:mysql://localhost:3306/testing Now, I want Liquibase, to generate a changelog, from this DB 'testing'. Is it possible? This is my command, but it doesn't work. liquibase --driver=com.mysql.jdbc.Driver --classpath=C:\mysql-connector-java-5.1.47.jar --changeLogFile=C:\db.changelog.xml --url="jdbc:mysql://localhost:3306/testing" --username