initial stamp implementation

This commit is contained in:
wish
2022-08-14 17:38:25 +10:00
parent 12ac12ff3f
commit 6ab961fa90
5 changed files with 88 additions and 25 deletions

13
patch-schema/stamps.sql Normal file
View File

@@ -0,0 +1,13 @@
BEGIN;
CREATE TABLE IF NOT EXISTS public.stamps (
character_id integer PRIMARY KEY,
hl_total integer DEFAULT 0,
hl_redeemed integer DEFAULT 0,
hl_next timestamp without time zone,
ex_total integer DEFAULT 0,
ex_redeemed integer DEFAULT 0,
ex_next timestamp without time zone
);
END;