fix: prevent database deadlock (eps 2)

This commit is contained in:
Alex
2025-09-08 21:10:51 -05:00
parent 23fb2e0fae
commit 9996a1ec3e
13 changed files with 32 additions and 17 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ void main() {
for (final toVersion in versions.skip(i + 1)) {
test('to $toVersion', () async {
final schema = await verifier.schemaAt(fromVersion);
final db = Drift(schema.newConnection());
final db = Drift(executor: schema.newConnection());
await verifier.migrateAndValidate(db, toVersion);
await db.close();
});