add support for operator accounts & bans

This commit is contained in:
wish
2024-01-03 19:08:45 +11:00
parent 8cd114988d
commit e0615dcd0c
5 changed files with 60 additions and 10 deletions

View File

@@ -0,0 +1,12 @@
BEGIN;
ALTER TABLE IF EXISTS public.users ADD COLUMN op boolean;
CREATE TABLE public.bans
(
user_id integer NOT NULL,
expires timestamp with time zone,
PRIMARY KEY (user_id)
);
END;