mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-25 00:14:42 +01:00
Fix v3 index not created for new db
This commit is contained in:
parent
5570fcf156
commit
28efab5e52
1 changed files with 1 additions and 0 deletions
|
@ -251,6 +251,7 @@ class SqliteDb extends _$SqliteDb {
|
||||||
"CREATE INDEX album_shares_album_index ON album_shares(album);"));
|
"CREATE INDEX album_shares_album_index ON album_shares(album);"));
|
||||||
|
|
||||||
await _createIndexV2(m);
|
await _createIndexV2(m);
|
||||||
|
await _createIndexV3(m);
|
||||||
},
|
},
|
||||||
onUpgrade: (m, from, to) async {
|
onUpgrade: (m, from, to) async {
|
||||||
_log.info("[onUpgrade] $from -> $to");
|
_log.info("[onUpgrade] $from -> $to");
|
||||||
|
|
Loading…
Add table
Reference in a new issue