Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
Browse files Browse the repository at this point in the history
billy1624 committed Jun 19, 2024

Verified

This commit was signed with the committer’s verified signature.
billy1624 Billy Chan
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
@@ -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()

0 comments on commit 5a17492

Please sign in to comment.