From c9955a724fd5d40acc5b2659ed3d906f07f76540 Mon Sep 17 00:00:00 2001 From: wish Date: Sat, 5 Nov 2022 00:23:07 +1100 Subject: [PATCH] post-9.1 cleanup --- patch-schema/achievements.sql | 41 ---- patch-schema/active-feature.sql | 9 - patch-schema/festa.sql | 311 -------------------------- patch-schema/guild-enumeration.sql | 9 - patch-schema/guild-poogie-outfits.sql | 15 -- patch-schema/mail-system-messages.sql | 13 -- patch-schema/mercenary.sql | 7 - patch-schema/missing-mail.sql | 6 - patch-schema/netcafe-2.sql | 6 - patch-schema/netcafe.sql | 30 --- patch-schema/persistent-house.sql | 37 --- patch-schema/return.sql | 9 - patch-schema/revert-road-shop.sql | 9 - patch-schema/road-leaderboard.sql | 11 - patch-schema/servers_info.sql | 23 -- patch-schema/stamps.sql | 13 -- patch-schema/titles.sql | 11 - patch-schema/warehouse.sql | 49 ---- 18 files changed, 609 deletions(-) delete mode 100644 patch-schema/achievements.sql delete mode 100644 patch-schema/active-feature.sql delete mode 100644 patch-schema/festa.sql delete mode 100644 patch-schema/guild-enumeration.sql delete mode 100644 patch-schema/guild-poogie-outfits.sql delete mode 100644 patch-schema/mail-system-messages.sql delete mode 100644 patch-schema/mercenary.sql delete mode 100644 patch-schema/missing-mail.sql delete mode 100644 patch-schema/netcafe-2.sql delete mode 100644 patch-schema/netcafe.sql delete mode 100644 patch-schema/persistent-house.sql delete mode 100644 patch-schema/return.sql delete mode 100644 patch-schema/revert-road-shop.sql delete mode 100644 patch-schema/road-leaderboard.sql delete mode 100644 patch-schema/servers_info.sql delete mode 100644 patch-schema/stamps.sql delete mode 100644 patch-schema/titles.sql delete mode 100644 patch-schema/warehouse.sql diff --git a/patch-schema/achievements.sql b/patch-schema/achievements.sql deleted file mode 100644 index 333ae5ed6..000000000 --- a/patch-schema/achievements.sql +++ /dev/null @@ -1,41 +0,0 @@ -BEGIN; - -CREATE TABLE IF NOT EXISTS public.achievements -( - id int NOT NULL PRIMARY KEY , - ach0 int DEFAULT 0, - ach1 int DEFAULT 0, - ach2 int DEFAULT 0, - ach3 int DEFAULT 0, - ach4 int DEFAULT 0, - ach5 int DEFAULT 0, - ach6 int DEFAULT 0, - ach7 int DEFAULT 0, - ach8 int DEFAULT 0, - ach9 int DEFAULT 0, - ach10 int DEFAULT 0, - ach11 int DEFAULT 0, - ach12 int DEFAULT 0, - ach13 int DEFAULT 0, - ach14 int DEFAULT 0, - ach15 int DEFAULT 0, - ach16 int DEFAULT 0, - ach17 int DEFAULT 0, - ach18 int DEFAULT 0, - ach19 int DEFAULT 0, - ach20 int DEFAULT 0, - ach21 int DEFAULT 0, - ach22 int DEFAULT 0, - ach23 int DEFAULT 0, - ach24 int DEFAULT 0, - ach25 int DEFAULT 0, - ach26 int DEFAULT 0, - ach27 int DEFAULT 0, - ach28 int DEFAULT 0, - ach29 int DEFAULT 0, - ach30 int DEFAULT 0, - ach31 int DEFAULT 0, - ach32 int DEFAULT 0 -); - -END; \ No newline at end of file diff --git a/patch-schema/active-feature.sql b/patch-schema/active-feature.sql deleted file mode 100644 index f8b835100..000000000 --- a/patch-schema/active-feature.sql +++ /dev/null @@ -1,9 +0,0 @@ -BEGIN; - -CREATE TABLE IF NOT EXISTS public.feature_weapon -( - start_time timestamp without time zone NOT NULL, - featured integer NOT NULL -); - -END; \ No newline at end of file diff --git a/patch-schema/festa.sql b/patch-schema/festa.sql deleted file mode 100644 index ce7d03594..000000000 --- a/patch-schema/festa.sql +++ /dev/null @@ -1,311 +0,0 @@ -BEGIN; - -CREATE TYPE event_type AS ENUM ('festa', 'diva', 'vs', 'mezfes'); - -DROP TABLE IF EXISTS public.event_week; - -ALTER TABLE IF EXISTS public.guild_characters - ADD COLUMN IF NOT EXISTS souls int DEFAULT 0; - -ALTER TABLE IF EXISTS public.guilds - DROP COLUMN IF EXISTS festival_colour; - -CREATE TABLE IF NOT EXISTS public.events -( - id serial NOT NULL PRIMARY KEY, - event_type event_type NOT NULL, - start_time timestamp without time zone NOT NULL DEFAULT now() -); - -CREATE TABLE IF NOT EXISTS public.festa_registrations -( - guild_id int NOT NULL, - team festival_colour NOT NULL -); - -CREATE TABLE IF NOT EXISTS public.festa_trials -( - id serial NOT NULL PRIMARY KEY, - objective int NOT NULL, - goal_id int NOT NULL, - times_req int NOT NULL, - locale_req int NOT NULL DEFAULT 0, - reward int NOT NULL -); - -CREATE TYPE prize_type AS ENUM ('personal', 'guild'); - -CREATE TABLE IF NOT EXISTS public.festa_prizes -( - id serial NOT NULL PRIMARY KEY, - type prize_type NOT NULL, - tier int NOT NULL, - souls_req int NOT NULL, - item_id int NOT NULL, - num_item int NOT NULL -); - -CREATE TABLE IF NOT EXISTS public.festa_prizes_accepted -( - prize_id int NOT NULL, - character_id int NOT NULL -); - --- Ripped prizes -INSERT INTO public.festa_prizes - (type, tier, souls_req, item_id, num_item) -VALUES - ('personal', 1, 1, 9647, 7), - ('personal', 2, 1, 9647, 7), - ('personal', 3, 1, 9647, 7), - ('personal', 1, 200, 11284, 4), - ('personal', 2, 200, 11284, 4), - ('personal', 3, 200, 11284, 4), - ('personal', 1, 400, 11381, 3), - ('personal', 2, 400, 11381, 3), - ('personal', 3, 400, 11381, 3), - ('personal', 1, 600, 11284, 8), - ('personal', 2, 600, 11284, 8), - ('personal', 3, 600, 11284, 8), - ('personal', 1, 800, 11384, 3), - ('personal', 2, 800, 11384, 3), - ('personal', 3, 800, 11384, 3), - ('personal', 1, 1000, 11284, 12), - ('personal', 2, 1000, 11284, 12), - ('personal', 3, 1000, 11284, 12), - ('personal', 1, 1200, 11381, 5), - ('personal', 2, 1200, 11381, 5), - ('personal', 3, 1200, 11381, 5), - ('personal', 1, 1400, 11284, 16), - ('personal', 2, 1400, 11284, 16), - ('personal', 3, 1400, 11284, 16), - ('personal', 1, 1700, 11384, 5), - ('personal', 2, 1700, 11384, 5), - ('personal', 3, 1700, 11384, 5), - ('personal', 1, 2000, 11284, 16), - ('personal', 2, 2000, 11284, 16), - ('personal', 3, 2000, 11284, 16), - ('personal', 1, 2500, 11382, 4), - ('personal', 2, 2500, 11382, 4), - ('personal', 3, 2500, 11382, 4), - ('personal', 1, 3000, 11284, 24), - ('personal', 2, 3000, 11284, 24), - ('personal', 3, 3000, 11284, 24), - ('personal', 1, 4000, 11385, 4), - ('personal', 2, 4000, 11385, 4), - ('personal', 3, 4000, 11385, 4), - ('personal', 1, 5000, 11381, 11), - ('personal', 2, 5000, 11381, 11), - ('personal', 3, 5000, 11381, 11), - ('personal', 1, 6000, 5177, 5), - ('personal', 2, 6000, 5177, 5), - ('personal', 3, 6000, 5177, 5), - ('personal', 1, 7000, 11384, 11), - ('personal', 2, 7000, 11384, 11), - ('personal', 3, 7000, 11384, 11), - ('personal', 1, 10000, 11382, 8), - ('personal', 2, 10000, 11382, 8), - ('personal', 3, 10000, 11382, 8), - ('personal', 1, 15000, 11385, 4), - ('personal', 2, 15000, 11385, 4), - ('personal', 3, 15000, 11385, 4), - ('personal', 1, 20000, 11381, 13), - ('personal', 2, 20000, 11381, 13), - ('personal', 3, 20000, 11381, 13), - ('personal', 1, 25000, 11385, 4), - ('personal', 2, 25000, 11385, 4), - ('personal', 3, 25000, 11385, 4), - ('personal', 1, 30000, 11383, 1), - ('personal', 2, 30000, 11383, 1), - ('personal', 3, 30000, 11383, 1); - -INSERT INTO public.festa_prizes -(type, tier, souls_req, item_id, num_item) -VALUES - ('guild', 1, 100, 7468, 5), - ('guild', 2, 100, 7468, 5), - ('guild', 3, 100, 7465, 5), - ('guild', 1, 300, 7469, 5), - ('guild', 2, 300, 7469, 5), - ('guild', 3, 300, 7466, 5), - ('guild', 1, 700, 7470, 5), - ('guild', 2, 700, 7470, 5), - ('guild', 3, 700, 7467, 5), - ('guild', 1, 1500, 13405, 14), - ('guild', 1, 1500, 1520, 3), - ('guild', 2, 1500, 13405, 14), - ('guild', 2, 1500, 1520, 3), - ('guild', 3, 1500, 7011, 3), - ('guild', 3, 1500, 13405, 14), - ('guild', 1, 3000, 10201, 10), - ('guild', 2, 3000, 10201, 10), - ('guild', 3, 3000, 10201, 10), - ('guild', 1, 6000, 13895, 14), - ('guild', 1, 6000, 1520, 6), - ('guild', 2, 6000, 13895, 14), - ('guild', 2, 6000, 1520, 6), - ('guild', 3, 6000, 13895, 14), - ('guild', 3, 6000, 7011, 4), - ('guild', 1, 12000, 13406, 14), - ('guild', 1, 12000, 1520, 9), - ('guild', 2, 12000, 13406, 14), - ('guild', 2, 12000, 1520, 9), - ('guild', 3, 12000, 13406, 14), - ('guild', 3, 12000, 7011, 5), - ('guild', 1, 25000, 10207, 10), - ('guild', 2, 25000, 10207, 10), - ('guild', 3, 25000, 10207, 10), - ('guild', 1, 50000, 1520, 12), - ('guild', 1, 50000, 13896, 14), - ('guild', 2, 50000, 1520, 12), - ('guild', 2, 50000, 13896, 14), - ('guild', 3, 50000, 7011, 6), - ('guild', 3, 50000, 13896, 14), - ('guild', 1, 100000, 10201, 10), - ('guild', 2, 100000, 10201, 10), - ('guild', 3, 100000, 10201, 10), - ('guild', 1, 200000, 13406, 16), - ('guild', 2, 200000, 13406, 16), - ('guild', 3, 200000, 13406, 16), - ('guild', 1, 300000, 13896, 16), - ('guild', 2, 300000, 13896, 16), - ('guild', 3, 300000, 13896, 16), - ('guild', 1, 400000, 10207, 10), - ('guild', 2, 400000, 10207, 10), - ('guild', 3, 400000, 10207, 10), - ('guild', 1, 500000, 13407, 6), - ('guild', 1, 500000, 13897, 6), - ('guild', 2, 500000, 13407, 6), - ('guild', 2, 500000, 13897, 6), - ('guild', 3, 500000, 13407, 6), - ('guild', 3, 500000, 13897, 6); - --- Ripped trials -INSERT INTO public.festa_trials - (objective, goal_id, times_req, locale_req, reward) -VALUES - (1,27,1,0,1), - (5,53034,0,0,400), - (5,22042,0,0,89), - (5,23397,0,0,89), - (1,28,1,0,1), - (1,68,1,0,1), - (1,6,1,0,2), - (1,38,1,0,2), - (1,20,1,0,3), - (1,39,1,0,4), - (1,48,1,0,4), - (1,67,1,0,4), - (1,93,1,0,4), - (1,22,1,0,5), - (1,52,1,0,5), - (1,101,1,0,5), - (1,1,1,0,5), - (1,37,1,0,5), - (1,15,1,0,5), - (1,45,1,0,5), - (1,74,1,0,5), - (1,78,1,0,5), - (1,103,1,0,5), - (1,51,1,0,6), - (1,17,1,0,6), - (1,21,1,0,6), - (1,92,1,0,6), - (1,47,1,0,7), - (1,46,1,0,7), - (1,26,1,0,7), - (1,14,1,0,7), - (1,11,1,0,7), - (1,44,1,0,8), - (1,43,1,0,8), - (1,49,1,0,8), - (1,40,1,0,8), - (1,76,1,0,8), - (1,89,1,0,8), - (1,94,1,0,8), - (1,96,1,0,8), - (1,75,1,0,8), - (1,91,1,0,8), - (1,53,1,0,9), - (1,80,1,0,9), - (1,42,1,0,9), - (1,79,1,0,9), - (1,81,1,0,10), - (1,41,1,0,10), - (1,82,1,0,10), - (1,90,1,0,10), - (1,149,1,0,10), - (1,85,1,0,11), - (1,95,1,0,11), - (1,121,1,0,11), - (1,142,1,0,11), - (1,141,1,0,11), - (1,146,1,0,12), - (1,147,1,0,12), - (1,148,1,0,12), - (1,151,1,0,12), - (1,152,1,0,12), - (1,159,1,0,12), - (1,153,1,0,12), - (1,162,1,0,12), - (1,111,1,0,13), - (1,110,1,0,13), - (1,112,1,0,13), - (1,109,1,0,14), - (1,169,1,0,15), - (2,33,1,0,6), - (2,104,1,0,8), - (2,119,1,0,8), - (2,120,1,0,8), - (2,54,1,0,8), - (2,59,1,0,8), - (2,64,1,0,8), - (2,65,1,0,8), - (2,99,1,0,9), - (2,83,1,0,9), - (2,84,1,0,10), - (2,77,1,0,10), - (2,106,1,0,10), - (2,55,1,0,10), - (2,58,1,0,10), - (2,7,1,0,10), - (2,50,1,0,11), - (2,131,1,0,11), - (2,129,1,0,11), - (2,140,1,0,11), - (2,122,1,0,11), - (2,126,1,0,11), - (2,127,1,0,11), - (2,128,1,0,11), - (2,130,1,0,11), - (2,139,1,0,11), - (2,144,1,0,11), - (2,150,1,0,11), - (2,158,1,0,11), - (2,164,1,0,15), - (2,165,1,0,15), - (2,2,1,7,15), - (2,36,1,0,15), - (2,71,1,0,15), - (2,108,1,0,15), - (2,116,1,0,15), - (2,107,1,0,15), - (2,154,1,0,17), - (2,166,1,0,17), - (2,170,1,0,18), - (3,31,1,0,1), - (3,8,1,0,3), - (3,123,1,0,8), - (3,105,1,0,9), - (3,125,1,0,11), - (3,115,1,0,12), - (3,114,1,0,12), - (3,161,1,0,12), - (4,670,1,0,1), - (4,671,1,0,1), - (4,672,1,0,1), - (4,675,1,0,1), - (4,673,1,0,1), - (4,674,1,0,1); - -END; \ No newline at end of file diff --git a/patch-schema/guild-enumeration.sql b/patch-schema/guild-enumeration.sql deleted file mode 100644 index 1e7e522a3..000000000 --- a/patch-schema/guild-enumeration.sql +++ /dev/null @@ -1,9 +0,0 @@ -BEGIN; - -ALTER TABLE IF EXISTS public.guilds - ADD COLUMN IF NOT EXISTS recruiting bool NOT NULL DEFAULT true; - -ALTER TABLE IF EXISTS public.guild_characters - ADD COLUMN IF NOT EXISTS recruiter bool NOT NULL DEFAULT false; - -END; \ No newline at end of file diff --git a/patch-schema/guild-poogie-outfits.sql b/patch-schema/guild-poogie-outfits.sql deleted file mode 100644 index b6ce2e4fa..000000000 --- a/patch-schema/guild-poogie-outfits.sql +++ /dev/null @@ -1,15 +0,0 @@ -BEGIN; - -ALTER TABLE IF EXISTS public.guilds - ADD COLUMN IF NOT EXISTS pugi_outfit_1 int NOT NULL DEFAULT 0; - -ALTER TABLE IF EXISTS public.guilds - ADD COLUMN IF NOT EXISTS pugi_outfit_2 int NOT NULL DEFAULT 0; - -ALTER TABLE IF EXISTS public.guilds - ADD COLUMN IF NOT EXISTS pugi_outfit_3 int NOT NULL DEFAULT 0; - -ALTER TABLE IF EXISTS public.guilds - ADD COLUMN IF NOT EXISTS pugi_outfits int NOT NULL DEFAULT 0; - -END; \ No newline at end of file diff --git a/patch-schema/mail-system-messages.sql b/patch-schema/mail-system-messages.sql deleted file mode 100644 index 4ce8dfaf6..000000000 --- a/patch-schema/mail-system-messages.sql +++ /dev/null @@ -1,13 +0,0 @@ -BEGIN; - -ALTER TABLE IF EXISTS public.mail - ADD COLUMN IF NOT EXISTS is_sys_message bool DEFAULT false; - -UPDATE mail SET is_sys_message=false; - -ALTER TABLE IF EXISTS public.mail - DROP CONSTRAINT IF EXISTS mail_sender_id_fkey; - -INSERT INTO public.characters (id, name) VALUES (0, ''); - -END; \ No newline at end of file diff --git a/patch-schema/mercenary.sql b/patch-schema/mercenary.sql deleted file mode 100644 index 9000db9f3..000000000 --- a/patch-schema/mercenary.sql +++ /dev/null @@ -1,7 +0,0 @@ -BEGIN; - -CREATE SEQUENCE IF NOT EXISTS public.rasta_id_seq; - -UPDATE characters SET savemercenary=NULL; - -END; \ No newline at end of file diff --git a/patch-schema/missing-mail.sql b/patch-schema/missing-mail.sql deleted file mode 100644 index 601c77d4f..000000000 --- a/patch-schema/missing-mail.sql +++ /dev/null @@ -1,6 +0,0 @@ -BEGIN; - -ALTER TABLE IF EXISTS public.mail - ADD COLUMN IF NOT EXISTS locked boolean NOT NULL DEFAULT false; - -END; \ No newline at end of file diff --git a/patch-schema/netcafe-2.sql b/patch-schema/netcafe-2.sql deleted file mode 100644 index d2a1f0763..000000000 --- a/patch-schema/netcafe-2.sql +++ /dev/null @@ -1,6 +0,0 @@ -BEGIN; - -ALTER TABLE IF EXISTS public.characters - ADD COLUMN cafe_reset timestamp without time zone; - -END; \ No newline at end of file diff --git a/patch-schema/netcafe.sql b/patch-schema/netcafe.sql deleted file mode 100644 index 563e10fb0..000000000 --- a/patch-schema/netcafe.sql +++ /dev/null @@ -1,30 +0,0 @@ -BEGIN; - -ALTER TABLE IF EXISTS public.characters - ADD COLUMN IF NOT EXISTS cafe_time integer DEFAULT 0; - -ALTER TABLE IF EXISTS public.characters - DROP COLUMN IF EXISTS netcafe_points; - -ALTER TABLE IF EXISTS public.characters - ADD COLUMN IF NOT EXISTS netcafe_points int DEFAULT 0; - -ALTER TABLE IF EXISTS public.characters - ADD COLUMN IF NOT EXISTS boost_time timestamp without time zone; - -CREATE TABLE IF NOT EXISTS public.cafebonus -( - id serial NOT NULL PRIMARY KEY, - time_req integer NOT NULL, - item_type integer NOT NULL, - item_id integer NOT NULL, - quantity integer NOT NULL -); - -CREATE TABLE IF NOT EXISTS public.cafe_accepted -( - cafe_id integer NOT NULL, - character_id integer NOT NULL -); - -END; \ No newline at end of file diff --git a/patch-schema/persistent-house.sql b/patch-schema/persistent-house.sql deleted file mode 100644 index 43a02da91..000000000 --- a/patch-schema/persistent-house.sql +++ /dev/null @@ -1,37 +0,0 @@ -BEGIN; - -CREATE TABLE IF NOT EXISTS public.user_binary -( - id serial NOT NULL PRIMARY KEY, - type2 bytea, - type3 bytea, - house_tier bytea, - house_state int, - house_password text, - house_data bytea, - house_furniture bytea, - bookshelf bytea, - gallery bytea, - tore bytea, - garden bytea, - mission bytea -); - --- Create entries for existing users -INSERT INTO public.user_binary (id) SELECT c.id FROM characters c; - --- Copy existing data -UPDATE public.user_binary - SET house_furniture = (SELECT house FROM characters WHERE user_binary.id = characters.id); - -UPDATE public.user_binary - SET mission = (SELECT trophy FROM characters WHERE user_binary.id = characters.id); - --- Drop old data location -ALTER TABLE public.characters - DROP COLUMN house; - -ALTER TABLE public.characters - DROP COLUMN trophy; - -END; \ No newline at end of file diff --git a/patch-schema/return.sql b/patch-schema/return.sql deleted file mode 100644 index 4e09d7e47..000000000 --- a/patch-schema/return.sql +++ /dev/null @@ -1,9 +0,0 @@ -BEGIN; - -ALTER TABLE IF EXISTS public.users - ADD COLUMN IF NOT EXISTS last_login timestamp without time zone; - -ALTER TABLE IF EXISTS public.users - ADD COLUMN IF NOT EXISTS return_expires timestamp without time zone; - -END; \ No newline at end of file diff --git a/patch-schema/revert-road-shop.sql b/patch-schema/revert-road-shop.sql deleted file mode 100644 index 830f3aa0f..000000000 --- a/patch-schema/revert-road-shop.sql +++ /dev/null @@ -1,9 +0,0 @@ -BEGIN; - -ALTER TABLE IF EXISTS public.normal_shop_items - DROP COLUMN IF EXISTS enable_weeks; - -ALTER TABLE IF EXISTS public.shop_item_state - DROP COLUMN IF EXISTS week; - -END; \ No newline at end of file diff --git a/patch-schema/road-leaderboard.sql b/patch-schema/road-leaderboard.sql deleted file mode 100644 index 8dfea2875..000000000 --- a/patch-schema/road-leaderboard.sql +++ /dev/null @@ -1,11 +0,0 @@ -BEGIN; - -CREATE TABLE IF NOT EXISTS rengoku_score ( - character_id integer PRIMARY KEY, - max_stages_mp integer, - max_points_mp integer, - max_stages_sp integer, - max_points_sp integer -); - -END; \ No newline at end of file diff --git a/patch-schema/servers_info.sql b/patch-schema/servers_info.sql deleted file mode 100644 index 06389b6ed..000000000 --- a/patch-schema/servers_info.sql +++ /dev/null @@ -1,23 +0,0 @@ ---adds world_name and land columns -BEGIN; - -CREATE TABLE IF NOT EXISTS public.servers -( - server_id integer NOT NULL, - season integer NOT NULL, - current_players integer NOT NULL, - world_name text COLLATE pg_catalog."default", - world_description text, - land integer -); - -ALTER TABLE public.servers - ADD COLUMN IF NOT EXISTS land integer; - -ALTER TABLE public.servers - ADD COLUMN IF NOT EXISTS world_name text COLLATE pg_catalog."default"; - -ALTER TABLE public.servers - ADD COLUMN IF NOT EXISTS world_description text; - -END; \ No newline at end of file diff --git a/patch-schema/stamps.sql b/patch-schema/stamps.sql deleted file mode 100644 index 2b940fa8c..000000000 --- a/patch-schema/stamps.sql +++ /dev/null @@ -1,13 +0,0 @@ -BEGIN; - -CREATE TABLE IF NOT EXISTS public.stamps ( - character_id integer PRIMARY KEY, - hl_total integer DEFAULT 0, - hl_redeemed integer DEFAULT 0, - hl_next timestamp without time zone, - ex_total integer DEFAULT 0, - ex_redeemed integer DEFAULT 0, - ex_next timestamp without time zone -); - -END; \ No newline at end of file diff --git a/patch-schema/titles.sql b/patch-schema/titles.sql deleted file mode 100644 index e4a87dc86..000000000 --- a/patch-schema/titles.sql +++ /dev/null @@ -1,11 +0,0 @@ -BEGIN; - -CREATE TABLE IF NOT EXISTS public.titles -( - id int NOT NULL, - char_id int NOT NULL, - unlocked_at timestamp without time zone, - updated_at timestamp without time zone -); - -END; \ No newline at end of file diff --git a/patch-schema/warehouse.sql b/patch-schema/warehouse.sql deleted file mode 100644 index 2f2a5adde..000000000 --- a/patch-schema/warehouse.sql +++ /dev/null @@ -1,49 +0,0 @@ -BEGIN; - -CREATE TABLE IF NOT EXISTS public.warehouse ( - character_id integer PRIMARY KEY, - item0 bytea, - item1 bytea, - item2 bytea, - item3 bytea, - item4 bytea, - item5 bytea, - item6 bytea, - item7 bytea, - item8 bytea, - item9 bytea, - item10 bytea, - item0name text, - item1name text, - item2name text, - item3name text, - item4name text, - item5name text, - item6name text, - item7name text, - item8name text, - item9name text, - equip0 bytea, - equip1 bytea, - equip2 bytea, - equip3 bytea, - equip4 bytea, - equip5 bytea, - equip6 bytea, - equip7 bytea, - equip8 bytea, - equip9 bytea, - equip10 bytea, - equip0name text, - equip1name text, - equip2name text, - equip3name text, - equip4name text, - equip5name text, - equip6name text, - equip7name text, - equip8name text, - equip9name text -); - -END; \ No newline at end of file