General information about db version control and liquibase
Fill liquibase changeLog file from existing databse
1.1 Generate a changeLog from an existing Database (Reverse engineering) with a Maven Plugin
mvn liquibase:generateChangeLog
1.2 Generate a changeLog from an existing Database with data
mvn liquibase:generateChangeLog -Dliquibase.diffTypes="data"
2. Synchronize metadata. Create tables that liquibase uses for handling the versions
mvn liquibase:changeLogSync
3. Run command update to apply the change set
mvn liquibase:update
More explanations:
1 and
2
Triggers with liquibase
Simple demo with spring-boot
Немає коментарів:
Дописати коментар