mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +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);"));
|
||||
|
||||
await _createIndexV2(m);
|
||||
await _createIndexV3(m);
|
||||
},
|
||||
onUpgrade: (m, from, to) async {
|
||||
_log.info("[onUpgrade] $from -> $to");
|
||||
|
|
Loading…
Reference in a new issue