From 355d3a001137ca5cd77ddb4e18a825ccba0d2413 Mon Sep 17 00:00:00 2001 From: Dom Eori <4j6dq2zi8@relay.firefox.com> Date: Sat, 14 May 2022 18:26:59 +0900 Subject: [PATCH] [chusan] Update game charge items --- .../db/migration/mysql/V103__update_chusan_game_charge.sql | 7 +++++++ .../migration/sqlite/V103__update_chusan_game_charge.sql | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 src/main/resources/db/migration/mysql/V103__update_chusan_game_charge.sql create mode 100644 src/main/resources/db/migration/sqlite/V103__update_chusan_game_charge.sql diff --git a/src/main/resources/db/migration/mysql/V103__update_chusan_game_charge.sql b/src/main/resources/db/migration/mysql/V103__update_chusan_game_charge.sql new file mode 100644 index 00000000..1c4a4786 --- /dev/null +++ b/src/main/resources/db/migration/mysql/V103__update_chusan_game_charge.sql @@ -0,0 +1,7 @@ +-- chusan_game_charge +TRUNCATE TABLE chusan_game_charge; +INSERT INTO chusan_game_charge (start_date, sale_start_date, sale_price, sale_end_date, price, order_id, end_date, charge_id) VALUES ('2019-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1, '2029-01-01 00:00:00.000000', 1, 0, '2029-01-01 00:00:00.000000', 2020); +INSERT INTO chusan_game_charge (start_date, sale_start_date, sale_price, sale_end_date, price, order_id, end_date, charge_id) VALUES ('2019-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1, '2029-01-01 00:00:00.000000', 1, 1, '2029-01-01 00:00:00.000000', 2040); +INSERT INTO chusan_game_charge (start_date, sale_start_date, sale_price, sale_end_date, price, order_id, end_date, charge_id) VALUES ('2019-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1, '2029-01-01 00:00:00.000000', 1, 2, '2029-01-01 00:00:00.000000', 2060); +INSERT INTO chusan_game_charge (start_date, sale_start_date, sale_price, sale_end_date, price, order_id, end_date, charge_id) VALUES ('2019-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1, '2029-01-01 00:00:00.000000', 1, 3, '2029-01-01 00:00:00.000000', 2070); +INSERT INTO chusan_game_charge (start_date, sale_start_date, sale_price, sale_end_date, price, order_id, end_date, charge_id) VALUES ('2019-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1, '2029-01-01 00:00:00.000000', 1, 4, '2029-01-01 00:00:00.000000', 2080); diff --git a/src/main/resources/db/migration/sqlite/V103__update_chusan_game_charge.sql b/src/main/resources/db/migration/sqlite/V103__update_chusan_game_charge.sql new file mode 100644 index 00000000..4033260f --- /dev/null +++ b/src/main/resources/db/migration/sqlite/V103__update_chusan_game_charge.sql @@ -0,0 +1,7 @@ +-- chusan_game_charge +DELETE FROM chusan_game_charge; +INSERT INTO chusan_game_charge (start_date, sale_start_date, sale_price, sale_end_date, price, order_id, end_date, charge_id) VALUES ('2019-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1, '2029-01-01 00:00:00.000000', 1, 0, '2029-01-01 00:00:00.000000', 2020); +INSERT INTO chusan_game_charge (start_date, sale_start_date, sale_price, sale_end_date, price, order_id, end_date, charge_id) VALUES ('2019-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1, '2029-01-01 00:00:00.000000', 1, 1, '2029-01-01 00:00:00.000000', 2040); +INSERT INTO chusan_game_charge (start_date, sale_start_date, sale_price, sale_end_date, price, order_id, end_date, charge_id) VALUES ('2019-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1, '2029-01-01 00:00:00.000000', 1, 2, '2029-01-01 00:00:00.000000', 2060); +INSERT INTO chusan_game_charge (start_date, sale_start_date, sale_price, sale_end_date, price, order_id, end_date, charge_id) VALUES ('2019-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1, '2029-01-01 00:00:00.000000', 1, 3, '2029-01-01 00:00:00.000000', 2070); +INSERT INTO chusan_game_charge (start_date, sale_start_date, sale_price, sale_end_date, price, order_id, end_date, charge_id) VALUES ('2019-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000', 1, '2029-01-01 00:00:00.000000', 1, 4, '2029-01-01 00:00:00.000000', 2080);