From 800e993c1fa2ebb5fffe27bd79c548a035f2f455 Mon Sep 17 00:00:00 2001 From: Matthew Date: Fri, 17 Nov 2023 21:14:19 -0500 Subject: [PATCH] sql: Added 11-event_quest_cycling migration sql --- patch-schema/11-event_quest_cycling.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 patch-schema/11-event_quest_cycling.sql diff --git a/patch-schema/11-event_quest_cycling.sql b/patch-schema/11-event_quest_cycling.sql new file mode 100644 index 000000000..cabc928a7 --- /dev/null +++ b/patch-schema/11-event_quest_cycling.sql @@ -0,0 +1,7 @@ +BEGIN; + +ALTER TABLE IF EXISTS public.event_quests ADD COLUMN IF NOT EXISTS start_time timestamp with time zone NOT NULL DEFAULT (CURRENT_DATE + interval '0 second'); +ALTER TABLE IF EXISTS public.event_quests ADD COLUMN IF NOT EXISTS active_duration int DEFAULT 4; +ALTER TABLE IF EXISTS public.event_quests ADD COLUMN IF NOT EXISTS inactive_duration int DEFAULT 3; + +END; \ No newline at end of file