convert interception rewards to db table

This commit is contained in:
wish
2023-02-19 22:44:22 +11:00
parent 1bea151bbb
commit eae33b8e92
3 changed files with 313 additions and 4 deletions

View File

@@ -6,4 +6,15 @@ ALTER TABLE IF EXISTS public.guilds
ALTER TABLE IF EXISTS public.guild_characters
ADD COLUMN IF NOT EXISTS interception_points bytea;
CREATE TABLE IF NOT EXISTS public.diva_prizes (
id SERIAL PRIMARY KEY,
type PRIZE_TYPE,
points_req INTEGER,
item_type INTEGER,
item_id INTEGER,
quantity INTEGER,
gr BOOLEAN,
repeatable BOOLEAN
);
END;