mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 16:04:38 +01:00
repository cleanup
This commit is contained in:
35
patch-schema/road-shop-rotation.sql
Normal file
35
patch-schema/road-shop-rotation.sql
Normal file
@@ -0,0 +1,35 @@
|
||||
BEGIN;
|
||||
CREATE TABLE IF NOT EXISTS public.normal_shop_items
|
||||
(
|
||||
shoptype integer,
|
||||
shopid integer,
|
||||
itemhash integer not null,
|
||||
itemid integer,
|
||||
points integer,
|
||||
tradequantity integer,
|
||||
rankreqlow integer,
|
||||
rankreqhigh integer,
|
||||
rankreqg integer,
|
||||
storelevelreq integer,
|
||||
maximumquantity integer,
|
||||
boughtquantity integer,
|
||||
roadfloorsrequired integer,
|
||||
weeklyfataliskills integer,
|
||||
enable_weeks character varying(8)
|
||||
);
|
||||
|
||||
ALTER TABLE IF EXISTS public.normal_shop_items
|
||||
ADD COLUMN IF NOT EXISTS enable_weeks character varying(8);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS public.shop_item_state
|
||||
(
|
||||
char_id bigint REFERENCES characters (id),
|
||||
itemhash int UNIQUE NOT NULL,
|
||||
usedquantity int,
|
||||
week int
|
||||
);
|
||||
|
||||
ALTER TABLE IF EXISTS public.shop_item_state
|
||||
ADD COLUMN IF NOT EXISTS week int;
|
||||
|
||||
END;
|
||||
Reference in New Issue
Block a user