fix: add logging and a default value for not null sql
This commit is contained in:
parent
43c5cd2eff
commit
a62f893a98
2 changed files with 6 additions and 3 deletions
|
@ -1,5 +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;
|
||||
ALTER TABLE servers ADD COLUMN wolves_link text NOT NULL;
|
||||
ALTER TABLE servers ADD COLUMN server_name text NOT NULL DEFAULT "";
|
||||
ALTER TABLE servers ADD COLUMN wolves_link text NOT NULL DEFAULT "";
|
|
@ -136,7 +136,10 @@ async fn main() {
|
|||
let config = get_config();
|
||||
let db = match db_init(&config).await {
|
||||
Ok(x) => x,
|
||||
Err(_) => return,
|
||||
Err(err) => {
|
||||
dbg!(err);
|
||||
return
|
||||
},
|
||||
};
|
||||
|
||||
// Intents are a bitflag, bitwise operations can be used to dictate which intents to use
|
||||
|
|
Loading…
Reference in a new issue