Fix code in intro to moor files documentation

This commit is contained in:
Simon Binder 2020-06-22 21:03:37 +02:00
parent 01c3c846ca
commit ec8ee96f12
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ part 'database.g.dart';
include: {'tables.moor'}, include: {'tables.moor'},
) )
class MoorDb extends _$MoorDb { class MoorDb extends _$MoorDb {
MoorDb() : super(FlutterQueryExecutor.inDatabaseFolder('app.db')); MoorDb() : super(FlutterQueryExecutor.inDatabaseFolder(path: 'app.db'));
@override @override
int get schemaVersion => 1; int get schemaVersion => 1;