feat: now store the roles and channel ids in teh database
This commit is contained in:
parent
6a5f651ba2
commit
555e38ee26
3 changed files with 209 additions and 83 deletions
10
db/migrations/10_member_committee-roles.sql
Normal file
10
db/migrations/10_member_committee-roles.sql
Normal 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
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue