From 6fddbba6aab9540d6677772feef988f7d55f50f0 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 6 Aug 2023 00:03:46 +0100 Subject: [PATCH] fix: had incorrect field in table --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 73066bc..92d30b2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -60,7 +60,7 @@ pub async fn db_init(config: &Config) -> Result, Error> { email text not null, expiry text not null, name_first text not null, - name_surname integer not null + name_second integer not null )", ) .execute(&pool)