mirror of https://github.com/AMT-Cheif/drift.git
Fix code in intro to moor files documentation
This commit is contained in:
parent
01c3c846ca
commit
ec8ee96f12
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue