mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +00:00 
			
		
		
		
	cargo fmt
This commit is contained in:
		
							parent
							
								
									5ee036d82d
								
							
						
					
					
						commit
						e5bf0cecdd
					
				@ -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.");
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user