Skip to content

Commit

Permalink
Fix get new table count
Browse files Browse the repository at this point in the history
  • Loading branch information
eatradish committed Feb 13, 2025
1 parent efd168d commit 170bdde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oma-history/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub fn create_and_maybe_migration_from_oma_db_v2(conn: &Connection) -> HistoryRe

let new_db_count: i32 = conn
.query_row(
"SELECT COUNT(name) FROM sqlite_schema WHERE name = 'history_oma_1.14'",
"SELECT COUNT(id) FROM 'history_oma_1.14'",
[],
|row| row.get(0),
)
Expand Down

0 comments on commit 170bdde

Please sign in to comment.