mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 10:47:25 +01:00
Fix error opening database
The schemaVersion has to be at least one.
This commit is contained in:
parent
63fd75c0a4
commit
ef4b81ce9b
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class Database extends _$Database {
|
|||
: super(FlutterQueryExecutor.inDatabaseFolder(path: fileName));
|
||||
|
||||
@override
|
||||
int get schemaVersion => 0;
|
||||
int get schemaVersion => 1;
|
||||
|
||||
Future<void> updatePerson(Person person) async {
|
||||
await into(persons).insert(person);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue