Liquibase - generate script without applying changesets to database

前端 未结 1 1340
猫巷女王i
猫巷女王i 2021-02-19 22:09

In my current project, there\'s a DB team that checks all the scripts before applying them to production.

We are using Liquibase to apply changesets to development, but

1条回答
  •  滥情空心
    2021-02-19 22:45

    UpdateSQL does not actually update the database, it just outputs SQL.

    The reason it needs the database connection information and makes an actual connection because it needs to select from the databasechangelog table to determine which changeSets have been ran and which have not.

    0 讨论(0)
提交回复
热议问题