jhipster import-jdl model.jh
默认情况下会生成以下树结构:
src/main/resources/config/liquibase
├── authorities.csv
├── changelog
│ ├── 00000000000000_initial_schema.xml
├── master.xml
├── users.csv
└── users_authorities.csv
master.xml包含以下内容:
<include
file="config/liquibase/changelog/00000000000000_initial_schema.xml"
relativeToChangelogFile="false"
/>
有没有办法让jhipster import-jdl生成relativeToChangelogFile="true"
?
所需结果:
<include
file="changelog/00000000000000_initial_schema.xml"
relativeToChangelogFile="true"
/>
jhipster版本:
$ jhipster --version
Using JHipster version installed globally
5.4.2
答案 0 :(得分:0)
JHipster或JDL不支持此功能。您将必须手动更改值。