mirror of https://github.com/AMT-Cheif/drift.git
Merge pull request #1999 from jack24254029/fix_the_migrate_test
Fix the wrong version number on `migration_test`
This commit is contained in:
commit
93fb0da38a
|
@ -32,7 +32,7 @@ void main() {
|
|||
targetVersion <= currentSchema;
|
||||
targetVersion++) {
|
||||
test('to v$targetVersion', () async {
|
||||
final connection = await verifier.startAt(1);
|
||||
final connection = await verifier.startAt(oldVersion);
|
||||
final db = Database(connection);
|
||||
addTearDown(db.close);
|
||||
|
||||
|
|
Loading…
Reference in New Issue