From 74362f3b1c7d1934b4984c87079c0958288de07f 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, })))