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

liquibase

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