Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Jun 19, 2024
1 parent 5a17492 commit 164eaf1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sea-orm-cli/src/commands/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ pub async fn run_generate_command(
sqlx_connect::<Sqlite>(max_connections, url.as_str(), None).await?;
println!("Discovering schema ...");
let schema_discovery = SchemaDiscovery::new(connection);
let schema = schema_discovery.discover().await?.merge_indexes_into_table();
let schema = schema_discovery
.discover()
.await?
.merge_indexes_into_table();
let table_stmts = schema
.tables
.into_iter()
Expand Down

0 comments on commit 164eaf1

Please sign in to comment.