2014-06-03 14:33:07 +02:00
|
|
|
CREATE VIRTUAL TABLE playlist_items_fts USING fts3(
|
|
|
|
ftstitle, ftsalbum, ftsartist, ftsalbumartist, ftscomposer, ftsgenre, ftscomment,
|
|
|
|
tokenize=unicode
|
|
|
|
);
|
|
|
|
|
|
|
|
DELETE FROM %allsongstables_fts;
|
|
|
|
|
|
|
|
DROP TABLE %allsongstables_fts;
|
|
|
|
|
|
|
|
ALTER TABLE %allsongstables ADD COLUMN performer TEXT;
|
|
|
|
|
|
|
|
ALTER TABLE %allsongstables ADD COLUMN grouping TEXT;
|
|
|
|
|
|
|
|
CREATE VIRTUAL TABLE %allsongstables_fts USING fts3(
|
|
|
|
ftstitle, ftsalbum, ftsartist, ftsalbumartist, ftscomposer, ftsperformer, ftsgrouping, ftsgenre, ftscomment,
|
|
|
|
tokenize=unicode
|
|
|
|
);
|
|
|
|
|
|
|
|
INSERT INTO %allsongstables_fts (ROWID, ftstitle, ftsalbum, ftsartist, ftsalbumartist, ftscomposer, ftsperformer, ftsgrouping, ftsgenre, ftscomment)
|
|
|
|
SELECT ROWID, title, album, artist, albumartist, composer, performer, grouping, genre, comment
|
|
|
|
FROM %allsongstables;
|
2013-05-11 23:17:54 +02:00
|
|
|
|
|
|
|
UPDATE schema_version SET version=46;
|
2014-06-03 14:33:07 +02:00
|
|
|
|