mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 20:34:39 +01:00
Add an index to the magnatune table
This commit is contained in:
parent
bef59ffd22
commit
739b0168ed
@ -87,5 +87,6 @@
|
||||
<file>edit-undo.png</file>
|
||||
<file>magnatune.png</file>
|
||||
<file>schema-8.sql</file>
|
||||
<file>schema-9.sql</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
4
data/schema-9.sql
Normal file
4
data/schema-9.sql
Normal file
@ -0,0 +1,4 @@
|
||||
CREATE INDEX idx_magnatune_comp_artist ON magnatune_songs (effective_compilation, artist);
|
||||
|
||||
UPDATE schema_version SET version=9;
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <QVariant>
|
||||
|
||||
const char* Database::kDatabaseFilename = "clementine.db";
|
||||
const int Database::kSchemaVersion = 8;
|
||||
const int Database::kSchemaVersion = 9;
|
||||
|
||||
int (*Database::_sqlite3_create_function) (
|
||||
sqlite3*, const char*, int, int, void*,
|
||||
|
Loading…
Reference in New Issue
Block a user