【发布时间】:2017-06-21 08:46:29
【问题描述】:
我刚开始使用 Liquibase,我想知道:为什么当我运行 ./mvnw compile liquibase:diff 时会生成更改集以首先删除现有索引,然后如果它们已经存在则重新创建它们?
例如:
<changeSet author="me (generated)" id="1486157347995-13">
<dropIndex indexName="my_idx" tableName="notification"/>
<createIndex indexName="my_idx" tableName="notification">
<column name="index_col"/>
</createIndex>
</changeSet>
【问题讨论】:
标签: java database maven indexing liquibase