mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-15 10:33:59 +02:00
add migrate script
This commit is contained in:
8
data/sql/dbmigrate-25_to_26.sql
Normal file
8
data/sql/dbmigrate-25_to_26.sql
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
-- Script to migate from db version 25 to 26.
|
||||||
|
-- Added the "autoload" column to dynamic_playlist
|
||||||
|
--
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE dynamic_playlist ADD COLUMN autoload BOOLEAN DEFAULT 1;
|
||||||
|
|
||||||
|
UPDATE settings SET v = '26' WHERE k == 'schema_version';
|
Reference in New Issue
Block a user