fix: had incorrect field in table
This commit is contained in:
parent
0990841afa
commit
6fddbba6aa
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue