1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-23 08:20:01 +01:00
Clementine-audio-player-Mac.../data/schema/schema-5.sql
2010-10-17 11:22:34 +00:00

9 lines
312 B
SQL

ALTER TABLE songs ADD COLUMN effective_compilation NOT NULL DEFAULT 0;
UPDATE songs SET effective_compilation = ((compilation OR sampler OR forced_compilation_on) AND NOT forced_compilation_off) + 0;
CREATE INDEX idx_comp_artist ON songs (effective_compilation, artist);
UPDATE schema_version SET version=5;