1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

Add index on playback_log.playtime

This commit is contained in:
Uwe L. Korn
2013-07-29 21:10:57 +02:00
parent 031bd3a0b1
commit 526c492409
5 changed files with 13 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
-- Script to migate from db version 29 to 30.
-- Add the following index to speed up all Operations that deal with a specific time period of plays
CREATE INDEX playback_log_playtime ON playback_log(playtime);
UPDATE settings SET v = '30' WHERE k == 'schema_version';