From 30a215396b3ba199f6882196f4d7c23ccd53f463 Mon Sep 17 00:00:00 2001 From: "Ewerton B. S" Date: Mon, 21 Aug 2023 03:23:37 +0900 Subject: [PATCH] Update 03-event_quests.sql auto-cycle --- patch-schema/03-event_quests.sql | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/patch-schema/03-event_quests.sql b/patch-schema/03-event_quests.sql index affaf3954..53c184765 100644 --- a/patch-schema/03-event_quests.sql +++ b/patch-schema/03-event_quests.sql @@ -13,10 +13,7 @@ create table if not exists event_quests ALTER TABLE IF EXISTS public.servers DROP COLUMN IF EXISTS season; -CREATE TABLE IF NOT EXISTS weekly_cycle_info ( - id SERIAL PRIMARY KEY, - current_cycle_number INT, - last_cycle_update_timestamp TIMESTAMP WITH TIME ZONE -); +ALTER TABLE IF EXISTS public.events ADD COLUMN IF NOT EXISTS current_cycle_number int; +ALTER TYPE event_type ADD VALUE 'EventQuests'; END;