Files
Erupe/patch-schema/gacha-db.sql
2022-11-21 11:42:19 +11:00

29 lines
520 B
PL/PgSQL

BEGIN;
DROP TABLE IF EXISTS public.gacha_shop;
CREATE TABLE IF NOT EXISTS public.gacha_shop (
id serial PRIMARY KEY,
min_gr integer,
min_hr integer,
name text,
link1 text,
link2 text,
link3 text,
icon integer,
type integer,
hide boolean
);
DROP TABLE IF EXISTS public.fpoint_items;
CREATE TABLE IF NOT EXISTS public.fpoint_items (
id serial PRIMARY KEY,
item_type integer,
item_id integer,
quantity integer,
fpoints integer,
trade_type integer
);
END;