aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2020-01-11 23:00:17 +0100
committerOvahlord <dreadkiller@gmx.de>2020-01-11 23:00:38 +0100
commit87c79c9485cbb9536912e1566174c717946c1537 (patch)
treea74c65c97ce521c263d3adcc200e0dc8b5977a18 /sql
parent33e4d4cd05148ea02b8723da3c3f49f93632ec90 (diff)
Core/Events: allow to override holiday durations and correct Lunar Festival duration down to 2 weeks
* the new field must be set for every new holiday date entry to take effect if you want to override the duration of the given
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2020_01_11_00_world.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_01_11_00_world.sql b/sql/updates/world/3.3.5/2020_01_11_00_world.sql
new file mode 100644
index 00000000000..62c271ad054
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_01_11_00_world.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `holiday_dates` ADD COLUMN `holiday_duration` INT(10) UNSIGNED NOT NULL AFTER `date_value`;
+UPDATE `holiday_dates` SET `holiday_duration`= 360 WHERE `id`= 327;