Compare commits

..

No commits in common. "53b3cb36482fb0afdc4dfdbcf623294ec3495ab9" and "387629caeea345cd67993d553e33b46f549d28ef" have entirely different histories.

4 changed files with 7 additions and 35 deletions

25
.env
View File

@ -1,25 +0,0 @@
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
View File

@ -1,3 +1,2 @@
diff-changelog
*.csv
*.sql

View File

@ -9,10 +9,8 @@
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">
<!-- <changeSet author="" dbms="postgresql" id="1713864000000-1">
<sqlFile path="changelog-dir/my_function.sql" splitStatements="false"/>
</changeSet> -->
<includeAll path="changelog-dir/diff-changelog/"/>
</databaseChangeLog>

10
pom.xml
View File

@ -11,8 +11,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<liquibase.version>4.27.0</liquibase.version>
<postgresql.version>42.7.3</postgresql.version>
<liquibase.version>4.17.0</liquibase.version>
<postgresql.version>42.6.0</postgresql.version>
<snakeyaml.version>1.32</snakeyaml.version>
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
</properties>
@ -34,12 +34,12 @@
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>4.27.0</version>
<version>4.17.0</version>
<configuration>
<changeLogDirectory>changelog-dir/diff-changelog/</changeLogDirectory>
<changeLogFile>changelog-dir/changelog-master.xml</changeLogFile>
<!-- <changeLogDirectory>changelog-dir/</changeLogDirectory> -->
<outputChangeLogFile>changelog-dir/changelog-master.xml</outputChangeLogFile>
<diffChangeLogFile>changelog-dir/diff-changelog/liquibase-diffChangeLog-${maven.build.timestamp}.sql</diffChangeLogFile>
<diffChangeLogFile>changelog-dir/diff-changelog/liquibase-diffChangeLog-${maven.build.timestamp}.xml</diffChangeLogFile>
<changelogSchemaName>liquibase</changelogSchemaName>
<defaultSchemaName>public</defaultSchemaName>
<driver>org.postgresql.Driver</driver>