fix invalid schema

This commit is contained in:
wish
2022-07-23 10:34:12 +10:00
parent c5fa728c5a
commit ebd0ea05ea
6 changed files with 16 additions and 18 deletions

View File

@@ -19,9 +19,7 @@ CREATE TABLE IF NOT EXISTS public.normal_shop_items
);
ALTER TABLE IF EXISTS public.normal_shop_items
(
ADD COLUMN enable_weeks character varying(8)
);
ADD COLUMN IF NOT EXISTS enable_weeks character varying(8);
CREATE TABLE IF NOT EXISTS public.shop_item_state
(
@@ -32,8 +30,6 @@ CREATE TABLE IF NOT EXISTS public.shop_item_state
);
ALTER TABLE IF EXISTS public.shop_item_state
(
ADD COLUMN week int
);
ADD COLUMN IF NOT EXISTS week int;
END;