Migration liquibase include file和dbDoc或更新失败

Migration liquibase include file和dbDoc或更新失败,migration,database-migration,liquibase,Migration,Database Migration,Liquibase,我的迁移目录结构如下: db1: 最新/(触发器、功能、程序) 桌子/ v000/master.xml update.xml db1/update.xml db2>liquibase--changeLogFile=update.xml验证/更新工作正常 但是 db2>liquibase--changeLogFile=update.xml dbDocs~/docs/db1 在表12_createTable_viewers.xml上失败 有人知道如何解决这些(路径问题)吗?为什么update和d

我的迁移目录结构如下:

db1:

  • 最新/(触发器、功能、程序)
  • 桌子/
  • v000/master.xml
  • update.xml
db1/update.xml db2>liquibase--changeLogFile=update.xml验证/更新工作正常

但是

db2>liquibase--changeLogFile=update.xml dbDocs~/docs/db1

在表12_createTable_viewers.xml上失败

有人知道如何解决这些(路径问题)吗?为什么update和dbDoc命令对相同路径的行为不同


感谢您的支持。

请尝试从根目录指定include文件中的路径,而不要使用
relativeToChangelogFile
属性。差不多

<iuclude file = "./Update/db1/update.xml" />


对liquibase项目提出JIRA罚单我也这么做了,但其中一件事失败了。让我再试一次。请尝试指定根目录中的所有路径。
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
         xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">


    <include   file="../db1/update.xml" />

</databaseChangeLog>
<include file="tables/12_createTable_audiences.xml" />
 <include file="../tables/12_createTable_audiences.xml" relativeToChangelogFile="true"/>
<iuclude file = "./Update/db1/update.xml" />