问题描述
我目前有一个包含以下内容的批处理文件,用于从我现有数据库的表和存储过程中生成Liquibase更改日志:
I currently have a batch file with the following contents to generate the Liquibase change log from my already existing database's tables and stored procedures:
@echo off
liquibase --changeLogFile=com/example/db.changelog1.xml --defaultSchemaName="schExampleSchema1" generateChangeLog
liquibase --changeLogFile=com/example/db.changelog2.xml --defaultSchemaName="schExampleSchema2" generateChangeLog
exit
Liquibase的"generateChangeLog"命令可以在一个命令中为一个以上的模式生成所有更改日志信息,而不是为每个模式使用单独的文件.
Instead of having separate files for each schema is their a way for the Liquibase 'generateChangeLog' command to generate all change log information for more than 1 schema in a single command.
我已经尝试过用逗号分隔列表,但这没用.
I already tried doing a comma separated list but that did not work.
推荐答案
不,不幸的是,generateChangeLog当前一次仅支持一个模式.
No, unfortunately generateChangeLog supports only one schema at a time currently.
这篇关于有没有一种方法可以为Liquibase的'generateChangeLog'命令指定多个SQL Server 2008架构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!