提交 9e18ef6e 编写于 作者: sq3536's avatar sq3536

liquibase

上级 7d52a203
......@@ -108,14 +108,14 @@ TARGET=PSSYSTEM
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>${r$'{liquibase.version}'}</version>
<version>${r'${liquibase.version}'}</version>
<executions>
<execution>
<id>prepare-newdb</id>
<configuration>
<changeLogFile>${r$'{project.basedir}'}/src/main/resources/liquibase/h2_table.xml</changeLogFile>
<changeLogFile>${r'${project.basedir}'}/src/main/resources/liquibase/h2_table.xml</changeLogFile>
<driver>org.h2.Driver</driver>
<url>jdbc:h2:file:${r$'{project.build.directory}'}/db/new;MODE=mysql</url>
<url>jdbc:h2:file:${r'${project.build.directory}'}/db/new;MODE=mysql</url>
<username>root</username>
<dropFirst>true</dropFirst>
</configuration>
......@@ -127,9 +127,9 @@ TARGET=PSSYSTEM
<execution>
<id>prepare-olddb</id>
<configuration>
<changeLogFile>${r$'{project.basedir}'}/src/main/resources/liquibase/master_table.xml</changeLogFile>
<changeLogFile>${r'${project.basedir}'}/src/main/resources/liquibase/master_table.xml</changeLogFile>
<driver>org.h2.Driver</driver>
<url>jdbc:h2:file:${r$'{project.build.directory}'}/db/last;MODE=mysql</url>
<url>jdbc:h2:file:${r'${project.build.directory}'}/db/last;MODE=mysql</url>
<username>root</username>
<dropFirst>true</dropFirst>
</configuration>
......@@ -141,13 +141,13 @@ TARGET=PSSYSTEM
<execution>
<id>make-diff</id>
<configuration>
<changeLogFile>${r$'{project.basedir}'}/src/main/resources/liquibase/empty.xml</changeLogFile>
<diffChangeLogFile>${r$'{project.basedir}'}/src/main/resources/liquibase/changelog/${r$'{maven.build.timestamp}'}_changelog.xml</diffChangeLogFile>
<changeLogFile>${r'${project.basedir}'}/src/main/resources/liquibase/empty.xml</changeLogFile>
<diffChangeLogFile>${r'${project.basedir}'}/src/main/resources/liquibase/changelog/${r'${maven.build.timestamp}'}_changelog.xml</diffChangeLogFile>
<driver>org.h2.Driver</driver>
<url>jdbc:h2:file:${r$'{project.build.directory}'}/db/last;MODE=mysql</url>
<url>jdbc:h2:file:${r'${project.build.directory}'}/db/last;MODE=mysql</url>
<username>root</username>
<password></password>
<referenceUrl>jdbc:h2:file:${r$'{project.build.directory}'}/db/new;MODE=mysql</referenceUrl>
<referenceUrl>jdbc:h2:file:${r'${project.build.directory}'}/db/new;MODE=mysql</referenceUrl>
<referenceDriver>org.h2.Driver</referenceDriver>
<referenceUsername>root</referenceUsername>
<verbose>true</verbose>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册