diff options
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | src/main/resources/db/migration/V1.00__initial_schema.sql (renamed from src/main/resources/schema-h2.sql) | 17 |
2 files changed, 1 insertions, 18 deletions
@@ -3,7 +3,7 @@ <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> - <version>2.5.0</version> + <version>2.5.1</version> <relativePath /> </parent> <groupId>com.juick</groupId> 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 |