feat: can now verify the user got the email

This commit is contained in:
silver 2023-09-17 18:00:05 +01:00
parent 98e61d7548
commit a444d6a5e5
4 changed files with 114 additions and 17 deletions

View file

@ -212,8 +212,8 @@ pub async fn db_init(config: &Config) -> Result<Pool<Sqlite>, Error> {
sqlx::query(
"CREATE TABLE IF NOT EXISTS wolves_verify (
email text PRIMARY KEY,
discord text not null,
discord text PRIMARY KEY,
email text not null,
auth_code text not null,
date_expiry text not null
)",