diff --git a/patch-schema/03-event_quests.sql b/patch-schema/03-event_quests.sql index 94aac0c65..affaf3954 100644 --- a/patch-schema/03-event_quests.sql +++ b/patch-schema/03-event_quests.sql @@ -6,9 +6,17 @@ create table if not exists event_quests max_players integer, quest_type integer not null, quest_id integer not null, - mark integer + mark integer, + weekly_cycle INT, + available_in_all_cycles bool default true ); ALTER TABLE IF EXISTS public.servers DROP COLUMN IF EXISTS season; -END; \ No newline at end of file +CREATE TABLE IF NOT EXISTS weekly_cycle_info ( + id SERIAL PRIMARY KEY, + current_cycle_number INT, + last_cycle_update_timestamp TIMESTAMP WITH TIME ZONE +); + +END;