考虑到这个
INFO 8/4/12 7:16 AM:liquibase: Successfully acquired change log lock
INFO 8/4/12 7:16 AM:liquibase: Creating database history table with name: `DATABASECHANGELOG`
INFO 8/4/12 7:16 AM:liquibase: Reading from `DATABASECHANGELOG`
INFO 8/4/12 7:16 AM:liquibase: Reading from `DATABASECHANGELOG`
INFO 8/4/12 7:16 AM:liquibase: ChangeSet db.changelog.xml::1::shameer ran successfully in 74ms
INFO 8/4/12 7:16 AM:liquibase: Successfully released change log lock
Liquibase Update Successful
我不确定liquibase是否需要写入数据库才能
Successfully acquired change log lock
原因是暂时我没有read-write
密码,只有read-only
密码与我一起部署到生产
我想检查liquibase是否能够锁定数据库。
P.S。由于数据库状态未更改,因此不需要应用任何新的更改集
答案 0 :(得分:3)
据我所知,Liquibase在表DATABASECHANGELOGLOCK中插入一行来锁定模式。 它会删除该行以解锁架构。