aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-06-15 18:46:41 +0300
committerGravatar Vitaly Takmazov2021-06-15 18:46:41 +0300
commit48435ec0110aa149303775e4687ac2e71aa92075 (patch)
tree4371517c408183e6b639d01a44da4531c6fe9996 /src/main/resources
parentde8ba6bf9e343ad4e08241ab727152958f023869 (diff)
Bump Spring Boot to 2.5.1
* Initial db schema must be a flyway migration step
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/db/migration/V1.00__initial_schema.sql (renamed from src/main/resources/schema-h2.sql)17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/main/resources/schema-h2.sql b/src/main/resources/db/migration/V1.00__initial_schema.sql
index c1b398bd..e25e3fed 100644
--- a/src/main/resources/schema-h2.sql
+++ b/src/main/resources/db/migration/V1.00__initial_schema.sql
@@ -378,20 +378,3 @@ CREATE TABLE IF NOT EXISTS `wl_users` (
`wl_user_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`user_id`,`wl_user_id`)
);
-
-CREATE CACHED TABLE PUBLIC."flyway_schema_history" (
- "installed_rank" INT NOT NULL,
- "version" VARCHAR(50),
- "description" VARCHAR(200) NOT NULL,
- "type" VARCHAR(20) NOT NULL,
- "script" VARCHAR(1000) NOT NULL,
- "checksum" INT,
- "installed_by" VARCHAR(100) NOT NULL,
- "installed_on" TIMESTAMP DEFAULT CURRENT_TIMESTAMP() NOT NULL,
- "execution_time" INT NOT NULL,
- "success" BOOLEAN NOT NULL
-);
-ALTER TABLE PUBLIC."flyway_schema_history" ADD CONSTRAINT PUBLIC."flyway_schema_history_pk" PRIMARY KEY("installed_rank");
--- 1 +/- SELECT COUNT(*) FROM PUBLIC."flyway_schema_history";
-INSERT INTO PUBLIC."flyway_schema_history"("installed_rank", "version", "description", "type", "script", "checksum", "installed_by", "installed_on", "execution_time", "success") VALUES
-(1, '1', '<< Flyway Baseline >>', 'BASELINE', '<< Flyway Baseline >>', NULL, 'SA', TIMESTAMP '2018-08-14 13:05:13.724', 0, TRUE); \ No newline at end of file