From 43917c043d422d1af60c78684bca545a9d99ec2c Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Sat, 9 Jun 2018 22:58:32 +0400 Subject: [PATCH] remove liquibase --- build.gradle | 3 - src/main/resources/application.properties | 6 +- .../db/changelog-20180301_130000-schema.xml | 15 ----- .../db/changelog-20180301_140000-data.xml | 38 ------------- .../db/changelog-20180301_140000-schema.xml | 55 ------------------- .../db/changelog-20180305_100000-schema.xml | 16 ------ .../db/changelog-20180321_193000-data.xml | 11 ---- .../db/changelog-20180405_110000-schema.xml | 43 --------------- .../db/changelog-20180428_110000-schema.xml | 15 ----- .../db/changelog-20180505_000000-schema.xml | 49 ----------------- src/main/resources/db/changelog-master.xml | 14 ----- 11 files changed, 1 insertion(+), 264 deletions(-) delete mode 100644 src/main/resources/db/changelog-20180301_130000-schema.xml delete mode 100644 src/main/resources/db/changelog-20180301_140000-data.xml delete mode 100644 src/main/resources/db/changelog-20180301_140000-schema.xml delete mode 100644 src/main/resources/db/changelog-20180305_100000-schema.xml delete mode 100644 src/main/resources/db/changelog-20180321_193000-data.xml delete mode 100644 src/main/resources/db/changelog-20180405_110000-schema.xml delete mode 100644 src/main/resources/db/changelog-20180428_110000-schema.xml delete mode 100644 src/main/resources/db/changelog-20180505_000000-schema.xml delete mode 100644 src/main/resources/db/changelog-master.xml diff --git a/build.gradle b/build.gradle index 13e3454..c396c77 100644 --- a/build.gradle +++ b/build.gradle @@ -104,9 +104,6 @@ dependencies { compile group: 'postgresql', name: 'postgresql', version: '9.1-901.jdbc4' - compile group: 'org.liquibase', name: 'liquibase-core', version: '3.5.3' - compile group: 'com.mattbertolini', name: 'liquibase-slf4j', version: '2.0.0' - compile group: 'org.apache.poi', name: 'poi', version: '3.9' compile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.9' diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e5b11f2..a2821bd 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -26,11 +26,7 @@ spring.datasource.url=jdbc:postgresql://localhost:5432/ng-tracker spring.datasource.username=postgres spring.datasource.password=postgres spring.datasource.driverclassName=org.postgresql.Driver -spring.jpa.hibernate.ddl-auto=validate -# Liquibase Settings -liquibase.drop-first=false -liquibase.enabled=true -liquibase.change-log=classpath:db/changelog-master.xml +spring.jpa.hibernate.ddl-auto=update # Application Settings ng-tracker.base-url=https://127.0.0.1:8443 ng-tracker.undead-user-login=admin diff --git a/src/main/resources/db/changelog-20180301_130000-schema.xml b/src/main/resources/db/changelog-20180301_130000-schema.xml deleted file mode 100644 index 47c29e2..0000000 --- a/src/main/resources/db/changelog-20180301_130000-schema.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - diff --git a/src/main/resources/db/changelog-20180301_140000-data.xml b/src/main/resources/db/changelog-20180301_140000-data.xml deleted file mode 100644 index 6d23cba..0000000 --- a/src/main/resources/db/changelog-20180301_140000-data.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/resources/db/changelog-20180301_140000-schema.xml b/src/main/resources/db/changelog-20180301_140000-schema.xml deleted file mode 100644 index 07ab917..0000000 --- a/src/main/resources/db/changelog-20180301_140000-schema.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/resources/db/changelog-20180305_100000-schema.xml b/src/main/resources/db/changelog-20180305_100000-schema.xml deleted file mode 100644 index a9e1577..0000000 --- a/src/main/resources/db/changelog-20180305_100000-schema.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - diff --git a/src/main/resources/db/changelog-20180321_193000-data.xml b/src/main/resources/db/changelog-20180321_193000-data.xml deleted file mode 100644 index d4d9812..0000000 --- a/src/main/resources/db/changelog-20180321_193000-data.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - update users - set password_hash='$2a$10$5UCtAX/UcNSAcLnHUJDqUO6GR4hyPwCzBfuFI81nsoaYkvNF9SGxG' where id = 1; - - - \ No newline at end of file diff --git a/src/main/resources/db/changelog-20180405_110000-schema.xml b/src/main/resources/db/changelog-20180405_110000-schema.xml deleted file mode 100644 index e174300..0000000 --- a/src/main/resources/db/changelog-20180405_110000-schema.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/resources/db/changelog-20180428_110000-schema.xml b/src/main/resources/db/changelog-20180428_110000-schema.xml deleted file mode 100644 index 2f1917f..0000000 --- a/src/main/resources/db/changelog-20180428_110000-schema.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - diff --git a/src/main/resources/db/changelog-20180505_000000-schema.xml b/src/main/resources/db/changelog-20180505_000000-schema.xml deleted file mode 100644 index 8f5240d..0000000 --- a/src/main/resources/db/changelog-20180505_000000-schema.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/resources/db/changelog-master.xml b/src/main/resources/db/changelog-master.xml deleted file mode 100644 index 4faae2e..0000000 --- a/src/main/resources/db/changelog-master.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - \ No newline at end of file