feat: with migrate

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-10-31 22:40:11 +01:00
parent 522a1b525f
commit 9978331eac
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -48,6 +48,8 @@ impl SessionService {
)
.await?;
postgres_session.migrate().await?;
Ok(Self(Arc::new(PostgresSessionService {
store: postgres_session,
})))