Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们有几个 liquibase 脚本,其中包含许多我们不想自动执行的自定义 sql 查询。 我们想知道是否存在跳过特定重构命令的配置,如<sql>或<dropTable>。排除这些命令会很有帮助。
<sql>
<dropTable>
您可以使用“上下文”控制在运行时执行哪些变更集。使用有用的上下文名称标记您想要有条件地运行的变更集,然后当您运行 liquibase 时,您可以传入您想要执行的上下文列表。