From 9978331eac846f5b5c0aaad9b5705c1df572b1e9 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Tue, 31 Oct 2023 22:40:11 +0100 Subject: [PATCH] feat: with migrate Signed-off-by: kjuulh --- crates/nefarious-login/src/session.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/nefarious-login/src/session.rs b/crates/nefarious-login/src/session.rs index c933b3b..7cd5ce4 100644 --- a/crates/nefarious-login/src/session.rs +++ b/crates/nefarious-login/src/session.rs @@ -48,6 +48,8 @@ impl SessionService { ) .await?; + postgres_session.migrate().await?; + Ok(Self(Arc::new(PostgresSessionService { store: postgres_session, })))