final pom.xml
This commit is contained in:
parent
387629caee
commit
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>
|
||||||
|
|||||||
17
changelog-dir/liquibase-diffChangeLog-20240426085855.xml
Normal file
17
changelog-dir/liquibase-diffChangeLog-20240426085855.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
|
||||||
|
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.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">
|
||||||
|
<changeSet author="root (generated)" id="1714121938826-1">
|
||||||
|
<createTable tableName="UserHelpModel">
|
||||||
|
<column name="Attachment" type="JSONB"/>
|
||||||
|
<column name="Author" type="JSONB"/>
|
||||||
|
<column name="UploadDateTime" type="JSONB"/>
|
||||||
|
<column name="CreationTime" type="JSONB">
|
||||||
|
<constraints nullable="false"/>
|
||||||
|
</column>
|
||||||
|
<column name="IsHidden" type="BOOLEAN">
|
||||||
|
<constraints nullable="false"/>
|
||||||
|
</column>
|
||||||
|
<column defaultValueComputed=""{0001-01-01T00:00:00+00:00}"" name="ModifyTime" type="JSONB"/>
|
||||||
|
</createTable>
|
||||||
|
</changeSet>
|
||||||
|
</databaseChangeLog>
|
||||||
17
changelog-dir/liquibase-diffChangeLog-20240426140926.xml
Normal file
17
changelog-dir/liquibase-diffChangeLog-20240426140926.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
|
||||||
|
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.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">
|
||||||
|
<changeSet author="root (generated)" id="1714140572470-1">
|
||||||
|
<createTable tableName="UserHelpModel">
|
||||||
|
<column name="Attachment" type="JSONB"/>
|
||||||
|
<column name="Author" type="JSONB"/>
|
||||||
|
<column name="UploadDateTime" type="JSONB"/>
|
||||||
|
<column name="CreationTime" type="JSONB">
|
||||||
|
<constraints nullable="false"/>
|
||||||
|
</column>
|
||||||
|
<column name="IsHidden" type="BOOLEAN">
|
||||||
|
<constraints nullable="false"/>
|
||||||
|
</column>
|
||||||
|
<column defaultValueComputed=""0001-01-01T00:00:00+00:00"" name="ModifyTime" type="JSONB"/>
|
||||||
|
</createTable>
|
||||||
|
</changeSet>
|
||||||
|
</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