Added db init script. Combined all schemas under schemas. Persisted

updates and init
This commit is contained in:
stratic-dev
2024-01-24 04:35:24 +00:00
parent 463ceba555
commit abe4744587
36 changed files with 309 additions and 23 deletions

View File

@@ -0,0 +1,12 @@
CREATE TABLE public.kill_logs
(
id serial,
character_id integer NOT NULL,
monster integer NOT NULL,
quantity integer NOT NULL,
timestamp timestamp with time zone NOT NULL,
PRIMARY KEY (id)
);
ALTER TABLE IF EXISTS public.guild_characters
ADD COLUMN box_claimed timestamp with time zone DEFAULT now();