From 217ca004897db3090afdec7d479c18929eeb939d Mon Sep 17 00:00:00 2001 From: samnyan <205-neumphis@users.noreply.dev.s-ul.eu> Date: Mon, 23 Mar 2020 04:14:14 +0900 Subject: [PATCH] Fix migration for sqlite --- .../db/migration/mysql/V18__add_default_reboot_time.sql | 6 ++++-- .../db/migration/sqlite/V18__add_default_reboot_time.sql | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/resources/db/migration/mysql/V18__add_default_reboot_time.sql b/src/main/resources/db/migration/mysql/V18__add_default_reboot_time.sql index 885b1a17..6af204c7 100644 --- a/src/main/resources/db/migration/mysql/V18__add_default_reboot_time.sql +++ b/src/main/resources/db/migration/mysql/V18__add_default_reboot_time.sql @@ -1,2 +1,4 @@ -INSERT INTO property (property_key, property_value) VALUE ('reboot_start_time', '2020-01-01 23:59:00.0'); -INSERT INTO property (property_key, property_value) VALUE ('reboot_end_time', '2020-01-01 23:59:00.0'); \ No newline at end of file +INSERT INTO `property` (property_key, property_value) VALUE ('reboot_start_time', '2020-01-01 23:59:00.0'); +INSERT INTO `property` (property_key, property_value) VALUE ('reboot_end_time', '2020-01-01 23:59:00.0'); +INSERT INTO `property` (property_key, property_value) VALUE ('ongeki_music_ng_list', ''); +INSERT INTO `property` (property_key, property_value) VALUE ('ongeki_music_recommend_list', ''); \ No newline at end of file diff --git a/src/main/resources/db/migration/sqlite/V18__add_default_reboot_time.sql b/src/main/resources/db/migration/sqlite/V18__add_default_reboot_time.sql index 885b1a17..4a4f6d58 100644 --- a/src/main/resources/db/migration/sqlite/V18__add_default_reboot_time.sql +++ b/src/main/resources/db/migration/sqlite/V18__add_default_reboot_time.sql @@ -1,2 +1,4 @@ -INSERT INTO property (property_key, property_value) VALUE ('reboot_start_time', '2020-01-01 23:59:00.0'); -INSERT INTO property (property_key, property_value) VALUE ('reboot_end_time', '2020-01-01 23:59:00.0'); \ No newline at end of file +INSERT INTO `property` (id, property_key, property_value) VALUES (3, 'reboot_start_time', '2020-01-01 23:59:00.0'); +INSERT INTO `property` (id, property_key, property_value) VALUES (4, 'reboot_end_time', '2020-01-01 23:59:00.0'); +INSERT INTO `property` (id, property_key, property_value) VALUES (5, 'ongeki_music_ng_list', ''); +INSERT INTO `property` (id, property_key, property_value) VALUES (6, 'ongeki_music_recommend_list', ''); \ No newline at end of file