jhipster import-jdl 在 liquibase 中使用相对路径 master.xml
jhipster import-jdl use relative path in liquibase master.xml
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
JHipster 或 JDL 不支持此功能。您将必须手动更改该值。
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
JHipster 或 JDL 不支持此功能。您将必须手动更改该值。