From 42563e3e72f79159d7d8845537fd2c4de1ac4001 Mon Sep 17 00:00:00 2001 From: Dom Eori <4j6dq2zi8@relay.firefox.com> Date: Thu, 7 Oct 2021 03:08:41 +0900 Subject: [PATCH] [generic] Set maintenance reboot date to far future This will solve play reception time lockout and mainteneance reboot on some game .. unless user plays after year 2099 --- .../resources/db/migration/mysql/V56__extend_reboot_time.sql | 1 + .../resources/db/migration/sqlite/V56__extend_reboot_time.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 src/main/resources/db/migration/mysql/V56__extend_reboot_time.sql create mode 100644 src/main/resources/db/migration/sqlite/V56__extend_reboot_time.sql diff --git a/src/main/resources/db/migration/mysql/V56__extend_reboot_time.sql b/src/main/resources/db/migration/mysql/V56__extend_reboot_time.sql new file mode 100644 index 00000000..a88e8f9e --- /dev/null +++ b/src/main/resources/db/migration/mysql/V56__extend_reboot_time.sql @@ -0,0 +1 @@ +UPDATE `property` SET `property_value` = '2099-01-01 23:59:00.0' WHERE `property_key` LIKE 'reboot_%_time'; \ No newline at end of file diff --git a/src/main/resources/db/migration/sqlite/V56__extend_reboot_time.sql b/src/main/resources/db/migration/sqlite/V56__extend_reboot_time.sql new file mode 100644 index 00000000..a88e8f9e --- /dev/null +++ b/src/main/resources/db/migration/sqlite/V56__extend_reboot_time.sql @@ -0,0 +1 @@ +UPDATE `property` SET `property_value` = '2099-01-01 23:59:00.0' WHERE `property_key` LIKE 'reboot_%_time'; \ No newline at end of file