How to use liquibase:diff to migrate production database

时间:2017-07-17 15:26:56

标签: liquibase

The development database is managed by liquibase. The production database is still empty. Based on the documentation I ran mvn liquibase:diff to get the differences between the development and production databases. The command generates a database changelog in xml containing a list of changeset.

I guess the next step is to use that diff change log and apply it to the production database. But I can't find the correct maven command to run in the documentation.

1 个答案:

答案 0 :(得分:0)

您希望使用此处记录的更新命令:http://www.liquibase.org/documentation/maven/maven_update.html