diff --git a/res/schema.xml b/res/schema.xml index bd0af688c46..d85b4c6ef00 100644 --- a/res/schema.xml +++ b/res/schema.xml @@ -150,7 +150,7 @@ reapplying those migrations. Add file type column. - ALTER TABLE library ADD COLUMN filetype varchar(8) DEFAULT "?"; + ALTER TABLE library ADD COLUMN filetype varchar(8) DEFAULT '?'; @@ -176,15 +176,15 @@ reapplying those migrations. ALTER TABLE library ADD COLUMN timesplayed INTEGER DEFAULT 0; ALTER TABLE library ADD COLUMN rating INTEGER DEFAULT 0; - ALTER TABLE library ADD COLUMN key varchar(8) DEFAULT ""; + ALTER TABLE library ADD COLUMN key varchar(8) DEFAULT ''; UPDATE library SET timesplayed = played; UPDATE library SET played = 0; - DELETE FROM settings WHERE name="mixxx.db.model.library.header_state"; - DELETE FROM settings WHERE name="mixxx.db.model.playlist.header_state"; - DELETE FROM settings WHERE name="mixxx.db.model.crate.header_state"; - DELETE FROM settings WHERE name="mixxx.db.model.prepare.header_state"; - DELETE FROM settings WHERE name="mixxx.db.model.missing.header_state"; + DELETE FROM settings WHERE name='mixxx.db.model.library.header_state'; + DELETE FROM settings WHERE name='mixxx.db.model.playlist.header_state'; + DELETE FROM settings WHERE name='mixxx.db.model.crate.header_state'; + DELETE FROM settings WHERE name='mixxx.db.model.prepare.header_state'; + DELETE FROM settings WHERE name='mixxx.db.model.missing.header_state'; @@ -305,7 +305,7 @@ reapplying those migrations. Add composer column to library table. - ALTER TABLE library ADD COLUMN composer varchar(64) DEFAULT ""; + ALTER TABLE library ADD COLUMN composer varchar(64) DEFAULT ''; @@ -375,8 +375,8 @@ reapplying those migrations. Add grouping and album_artist column to library table. - ALTER TABLE Library ADD COLUMN grouping TEXT DEFAULT ""; - ALTER TABLE Library ADD COLUMN album_artist TEXT DEFAULT ""; + ALTER TABLE Library ADD COLUMN grouping TEXT DEFAULT ''; + ALTER TABLE Library ADD COLUMN album_artist TEXT DEFAULT ''; @@ -384,8 +384,8 @@ reapplying those migrations. Add grouping and album_artist column to itunes_library table. - ALTER TABLE itunes_library ADD COLUMN grouping TEXT DEFAULT ""; - ALTER TABLE itunes_library ADD COLUMN album_artist TEXT DEFAULT ""; + ALTER TABLE itunes_library ADD COLUMN grouping TEXT DEFAULT ''; + ALTER TABLE itunes_library ADD COLUMN album_artist TEXT DEFAULT ''; @@ -406,7 +406,7 @@ reapplying those migrations. ALTER TABLE library ADD COLUMN coverart_source INTEGER DEFAULT 0; ALTER TABLE library ADD COLUMN coverart_type INTEGER DEFAULT 0; - ALTER TABLE library ADD COLUMN coverart_location TEXT DEFAULT ""; + ALTER TABLE library ADD COLUMN coverart_location TEXT DEFAULT ''; ALTER TABLE library ADD COLUMN coverart_hash INTEGER DEFAULT 0;