sql: Added 11-event_quest_cycling migration sql

This commit is contained in:
Matthew
2023-11-17 21:14:19 -05:00
parent a27d15bff1
commit 800e993c1f

View File

@@ -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;