我有一个主更改日志设置,其中包含我的所有更改日志,如下所示:
{
"databaseChangeLog": [
{
"include": [
{ "file": "changelog/4.0/insert-languages-4.0.0.json" },
{ "relativeToChangelogFile":"true"}
],
"include": [
{ "file": "changelog/4.0/Create-order-datetime-concat4.0.1.json"},
{ "relativeToChangelogFile":"true"}
]
}
]}
问题是列表实际运行的最后一个更改日志。我希望他们所有人都能一个接一个地跑,而不是最后一个。我设置了#on; onFail"对于" CONTINUE"的所有先决条件因此,即使它遇到错误,也应继续使用其余的更改日志。任何帮助将不胜感激,谢谢!
答案 0 :(得分:0)
您的语法不正确:必须关闭元素include
{
"databaseChangeLog": [
{
"include": [
{
"file": "include/include1.json"
},
{
"relativeToChangelogFile": "true"
}
]
},
{
"include": [
{
"file": "include/include2.json"
},
{
"relativeToChangelogFile": "true"
}
]
}
]
}