Fix schemas

This commit is contained in:
Jonas Kvinge
2019-05-31 01:41:17 +02:00
parent 28ee967371
commit 699e8e3ddb
2 changed files with 18 additions and 18 deletions

View File

@@ -27,9 +27,9 @@ CREATE TABLE device_%deviceid_songs (
comment TEXT NOT NULL,
lyrics TEXT NOT NULL,
artist_id INTEGER NOT NULL DEFAULT -1;
album_id INTEGER NOT NULL DEFAULT -1;
song_id INTEGER NOT NULL DEFAULT -1;
artist_id INTEGER NOT NULL DEFAULT -1,
album_id INTEGER NOT NULL DEFAULT -1,
song_id INTEGER NOT NULL DEFAULT -1,
beginning INTEGER NOT NULL DEFAULT 0,
length INTEGER NOT NULL DEFAULT 0,