fix: had incorrect field in table

This commit is contained in:
silver 2023-08-06 00:03:46 +01:00
parent 0990841afa
commit 6fddbba6aa

View file

@ -60,7 +60,7 @@ pub async fn db_init(config: &Config) -> Result<Pool<Sqlite>, Error> {
email text not null, email text not null,
expiry text not null, expiry text not null,
name_first text not null, name_first text not null,
name_surname integer not null name_second integer not null
)", )",
) )
.execute(&pool) .execute(&pool)