diff --git a/como_infrastructure/src/register.rs b/como_infrastructure/src/register.rs index 2196379..7a7c475 100644 --- a/como_infrastructure/src/register.rs +++ b/como_infrastructure/src/register.rs @@ -30,6 +30,8 @@ impl ServiceRegister { let user_service = Arc::new(DefaultUserService::new(pool.clone())) as DynUserService; let store = PostgresSessionStore::new(&config.database_url).await?; + store.migrate().await?; + info!("services created succesfully"); Ok(Self {