cargo fmt

This commit is contained in:
Austin 2023-03-20 19:08:20 +00:00
parent 5ee036d82d
commit e5bf0cecdd

View File

@ -201,7 +201,9 @@ async fn create_schema(database_url: String) -> Result<()> {
domain::sql_tables::init_table(&sql_pool)
.await
.context("while creating base tables")?;
infra::jwt_sql_tables::init_table(&sql_pool).await.context("while creating jwt tables")?;
infra::jwt_sql_tables::init_table(&sql_pool)
.await
.context("while creating jwt tables")?;
Ok(())
}
@ -212,8 +214,7 @@ fn create_schema_command(opts: RunOpts) -> Result<()> {
let database_url = config.database_url;
actix::run(
create_schema(database_url)
.unwrap_or_else(|e| error!("Could not create schema: {:#}", e)),
create_schema(database_url).unwrap_or_else(|e| error!("Could not create schema: {:#}", e)),
)?;
info!("End.");