mirror of https://github.com/AMT-Cheif/drift.git
Missing `.path` in _openConnection
This commit is contained in:
parent
9dbd737087
commit
b602cbd88b
|
@ -99,7 +99,7 @@ LazyDatabase _openConnection() {
|
|||
// put the database file, called db.sqlite here, into the documents folder
|
||||
// for your app.
|
||||
final dbFolder = await getApplicationDocumentsDirectory();
|
||||
final file = File(p.join(dbFolder, 'db.sqlite'));
|
||||
final file = File(p.join(dbFolder.path, 'db.sqlite'));
|
||||
return VmDatabase(file);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue