Merge branch 'main' into #17-automate-onboarding-mk-ii
# Conflicts: # .gitignore # src/commands/committee.rs
This commit is contained in:
commit
b2d8238c17
12 changed files with 447 additions and 47 deletions
5
db/migrations/5_welcome-message.sql
Normal file
5
db/migrations/5_welcome-message.sql
Normal file
|
@ -0,0 +1,5 @@
|
|||
-- temp table to allow folks to verify by committee email.
|
||||
-- delete the col in teh server table
|
||||
ALTER TABLE servers ADD COLUMN bot_channel_id integer DEFAULT 0;
|
||||
ALTER TABLE servers ADD COLUMN server_name text NOT NULL DEFAULT "";
|
||||
ALTER TABLE servers ADD COLUMN wolves_link text NOT NULL DEFAULT "";
|
11
db/migrations/6_role-adder.sql
Normal file
11
db/migrations/6_role-adder.sql
Normal file
|
@ -0,0 +1,11 @@
|
|||
CREATE TABLE IF NOT EXISTS roles_adder (
|
||||
server integer not null,
|
||||
role_a integer not null,
|
||||
role_b integer not null,
|
||||
role_c integer not null,
|
||||
PRIMARY KEY(server,role_a,role_b,role_c)
|
||||
);
|
||||
CREATE INDEX IF NOT EXISTS index_roles_adder_server ON roles_adder (server);
|
||||
CREATE INDEX IF NOT EXISTS index_roles_adder_from ON roles_adder (role_a,role_b);
|
||||
CREATE INDEX IF NOT EXISTS index_roles_adder_to ON roles_adder (role_c);
|
||||
CREATE INDEX IF NOT EXISTS index_roles_adder_search ON roles_adder (server,role_a,role_b);
|
Loading…
Add table
Add a link
Reference in a new issue