Compare commits
2 Commits
387629caee
...
53b3cb3648
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
53b3cb3648 | ||
|
|
aba194e067 |
25
.env
25
.env
@ -0,0 +1,25 @@
|
|||||||
|
GROUPID=ru.corp.tn.ecm-liquibase
|
||||||
|
ARTIFACTID=liquibase
|
||||||
|
VERSION=1.0.0
|
||||||
|
DESCRIPTION=Ecm liquibase migration
|
||||||
|
LIQUIBASE.VERSION=4.17.0
|
||||||
|
POSTGRESQL.VERSION=42.6.0
|
||||||
|
SNAKEYAML.VERSION=1.32
|
||||||
|
|
||||||
|
CHANGELOGDIRECTORY=changelog-dir/diff-changelog/
|
||||||
|
CHANGELOGFILE=changelog-dir/changelog-master.xml
|
||||||
|
OUTPUTCHANGELOGFILE=changelog-dir/changelog-master.xml
|
||||||
|
DIFFCHANGELOGFILE=changelog-dir/diff-changelog/liquibase-diffChangeLog-${maven.build.timestamp}.xml
|
||||||
|
CHANGELOGSCHEMANAME=liquibase
|
||||||
|
DRIVER=org.postgresql.Driver
|
||||||
|
USERNAME=dbuser01
|
||||||
|
PASSWORD=QWEasd759
|
||||||
|
URL=jdbc:postgresql://10.2.5.46:5432/db02-pom #destination DB
|
||||||
|
REFERENCEDRIVER=org.postgresql.Driver
|
||||||
|
REFERENCEURL=jdbc:postgresql://10.2.5.47:5432/db01-pom #source DB
|
||||||
|
REFERENCEUSERNAME=dbuser01
|
||||||
|
REFERENCEPASSWORD=QWEasd759
|
||||||
|
DATADIR=changelog-dir/diff-changelog/data
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
diff-changelog
|
diff-changelog
|
||||||
*.csv
|
*.csv
|
||||||
|
*.sql
|
||||||
@ -9,8 +9,10 @@
|
|||||||
http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd
|
http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd
|
||||||
http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
|
http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
|
||||||
|
|
||||||
|
<!-- <changeSet author="" dbms="postgresql" id="1713864000000-1">
|
||||||
|
<sqlFile path="changelog-dir/my_function.sql" splitStatements="false"/>
|
||||||
|
</changeSet> -->
|
||||||
|
|
||||||
<includeAll path="changelog-dir/diff-changelog/"/>
|
<includeAll path="changelog-dir/diff-changelog/"/>
|
||||||
|
|
||||||
</databaseChangeLog>
|
</databaseChangeLog>
|
||||||
|
|||||||
10
pom.xml
10
pom.xml
@ -11,8 +11,8 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<liquibase.version>4.17.0</liquibase.version>
|
<liquibase.version>4.27.0</liquibase.version>
|
||||||
<postgresql.version>42.6.0</postgresql.version>
|
<postgresql.version>42.7.3</postgresql.version>
|
||||||
<snakeyaml.version>1.32</snakeyaml.version>
|
<snakeyaml.version>1.32</snakeyaml.version>
|
||||||
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
|
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
|
||||||
</properties>
|
</properties>
|
||||||
@ -34,12 +34,12 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.liquibase</groupId>
|
<groupId>org.liquibase</groupId>
|
||||||
<artifactId>liquibase-maven-plugin</artifactId>
|
<artifactId>liquibase-maven-plugin</artifactId>
|
||||||
<version>4.17.0</version>
|
<version>4.27.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<changeLogDirectory>changelog-dir/diff-changelog/</changeLogDirectory>
|
|
||||||
<changeLogFile>changelog-dir/changelog-master.xml</changeLogFile>
|
<changeLogFile>changelog-dir/changelog-master.xml</changeLogFile>
|
||||||
|
<!-- <changeLogDirectory>changelog-dir/</changeLogDirectory> -->
|
||||||
<outputChangeLogFile>changelog-dir/changelog-master.xml</outputChangeLogFile>
|
<outputChangeLogFile>changelog-dir/changelog-master.xml</outputChangeLogFile>
|
||||||
<diffChangeLogFile>changelog-dir/diff-changelog/liquibase-diffChangeLog-${maven.build.timestamp}.xml</diffChangeLogFile>
|
<diffChangeLogFile>changelog-dir/diff-changelog/liquibase-diffChangeLog-${maven.build.timestamp}.sql</diffChangeLogFile>
|
||||||
<changelogSchemaName>liquibase</changelogSchemaName>
|
<changelogSchemaName>liquibase</changelogSchemaName>
|
||||||
<defaultSchemaName>public</defaultSchemaName>
|
<defaultSchemaName>public</defaultSchemaName>
|
||||||
<driver>org.postgresql.Driver</driver>
|
<driver>org.postgresql.Driver</driver>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user