mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-13 23:44:52 +01:00
21 lines
428 B
PL/PgSQL
21 lines
428 B
PL/PgSQL
BEGIN;
|
|
|
|
ALTER TABLE IF EXISTS public.characters
|
|
ADD COLUMN cafe_time integer DEFAULT 0;
|
|
|
|
CREATE TABLE IF NOT EXISTS public.cafebonus
|
|
(
|
|
id integer NOT NULL PRIMARY KEY,
|
|
seconds_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; |