diff --git a/.env b/.env index e69de29..f572249 100644 --- a/.env +++ b/.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 + + + diff --git a/.gitignore b/.gitignore index fd78a5c..0e8b741 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ diff-changelog *.csv +*.sql \ No newline at end of file diff --git a/changelog-dir/changelog-master.xml b/changelog-dir/changelog-master.xml index a74f5ff..7936107 100644 --- a/changelog-dir/changelog-master.xml +++ b/changelog-dir/changelog-master.xml @@ -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/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd"> - - + + diff --git a/changelog-dir/liquibase-diffChangeLog-20240426085855.xml b/changelog-dir/liquibase-diffChangeLog-20240426085855.xml new file mode 100644 index 0000000..b725ead --- /dev/null +++ b/changelog-dir/liquibase-diffChangeLog-20240426085855.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/changelog-dir/liquibase-diffChangeLog-20240426140926.xml b/changelog-dir/liquibase-diffChangeLog-20240426140926.xml new file mode 100644 index 0000000..3f8afab --- /dev/null +++ b/changelog-dir/liquibase-diffChangeLog-20240426140926.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index f0dc2e7..0b08c4d 100644 --- a/pom.xml +++ b/pom.xml @@ -11,8 +11,8 @@ UTF-8 UTF-8 - 4.17.0 - 42.6.0 + 4.27.0 + 42.7.3 1.32 yyyyMMddHHmmss @@ -34,12 +34,12 @@ org.liquibase liquibase-maven-plugin - 4.17.0 + 4.27.0 - changelog-dir/diff-changelog/ changelog-dir/changelog-master.xml + changelog-dir/changelog-master.xml - changelog-dir/diff-changelog/liquibase-diffChangeLog-${maven.build.timestamp}.xml + changelog-dir/diff-changelog/liquibase-diffChangeLog-${maven.build.timestamp}.sql liquibase public org.postgresql.Driver