feat: with migrate
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
522a1b525f
commit
9978331eac
@ -48,6 +48,8 @@ impl SessionService {
|
|||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
postgres_session.migrate().await?;
|
||||||
|
|
||||||
Ok(Self(Arc::new(PostgresSessionService {
|
Ok(Self(Arc::new(PostgresSessionService {
|
||||||
store: postgres_session,
|
store: postgres_session,
|
||||||
})))
|
})))
|
||||||
|
Loading…
Reference in New Issue
Block a user