Ban ip, macs & hwid in PG

Finally rid of all db code in Client
This commit is contained in:
P0nk
2024-10-03 18:48:19 +02:00
parent 2b6ef9feb5
commit 40425ac4e1
10 changed files with 94 additions and 86 deletions

View File

@@ -14,7 +14,7 @@ CREATE TABLE hwid_ban
created_at timestamp DEFAULT now() NOT NULL,
PRIMARY KEY (hwid)
);
GRANT SELECT ON TABLE hwid_ban TO ${server-username};
GRANT SELECT, INSERT ON TABLE hwid_ban TO ${server-username};
CREATE TABLE mac_ban
(