mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-29 07:34:13 +01:00
test(library): give the v14 upgrade fixture the columns it indexes
The rollback test builds a cut down version 14 Library table. The upgrade to version 21 creates the album key and album artist indexes again, and the fixture had neither column, so the retry failed with "no such column: album_key". A real version 14 database has both since version 7.
This commit is contained in:
1 parent
866445926e
commit
bd01be76ef
1 file changed
+2
-1
@@ -194,7 +194,8 @@ void main() {
|
||||
id TEXT PRIMARY KEY, file_path TEXT,
|
||||
source_id TEXT NOT NULL DEFAULT 'legacy', isrc TEXT,
|
||||
format TEXT, audio_metadata_scan_version INTEGER NOT NULL DEFAULT 0,
|
||||
match_key TEXT DEFAULT 'song|artist'
|
||||
match_key TEXT DEFAULT 'song|artist', album_key TEXT,
|
||||
album_artist_norm TEXT
|
||||
)
|
||||
''');
|
||||
await createPathKeyTable(db, 'library_path_keys');
|
||||
|
||||
Reference in new issue
Block a user