feat: now store the roles and channel ids in teh database

This commit is contained in:
silver 2025-02-27 01:19:40 +00:00
parent 6a5f651ba2
commit 555e38ee26
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
3 changed files with 209 additions and 83 deletions

View file

@ -0,0 +1,10 @@
CREATE TABLE IF NOT EXISTS committee_roles (
id_wolves integer PRIMARY KEY,
id_role integer DEFAULT 1,
id_channel integer DEFAULT 1,
-- not strictly required but for readability and debugging
name_role text NOT NULL DEFAULT '',
name_channel text NOT NULL DEFAULT '',
count integer DEFAULT 0
);