Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Jun 19, 2024
1 parent 64856a6 commit 5a17492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sea-orm-cli/src/commands/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ 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?.collect_unique_indexes();
let schema = schema_discovery.discover().await?.merge_indexes_into_table();
let table_stmts = schema
.tables
.into_iter()
Expand Down

0 comments on commit 5a17492

Please sign in to comment.