Using liquibase on the existing database

后端 未结 1 442
感动是毒
感动是毒 2021-02-02 12:08

We have a existing database in production. We have decided to use liquibase for all further updates and create any new database (like development or integration).

We ha

相关标签:
1条回答
  • 2021-02-02 12:17

    The process to put a existing database under liquibase control is the following:

    1. Create the initial changelog (that's what you did)
    2. Run liquibase using the command changelogSync. This will create the Liquibase tables and mark all change sets as being applied (this is what you missed)
    3. Add your change sets
    4. Run liquibase using the command update to apply the change sets.
    0 讨论(0)
提交回复
热议问题