1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-17 19:18:36 +01:00

Update device schema

This commit is contained in:
Jonas Kvinge 2020-04-13 23:24:35 +02:00
parent a21855fa20
commit 6331a0615f

View File

@ -11,25 +11,25 @@ CREATE TABLE device_%deviceid_subdirectories (
CREATE TABLE device_%deviceid_songs ( CREATE TABLE device_%deviceid_songs (
title TEXT NOT NULL, title TEXT,
album TEXT NOT NULL, album TEXT,
artist TEXT NOT NULL, artist TEXT,
albumartist TEXT NOT NULL, albumartist TEXT,
track INTEGER NOT NULL DEFAULT -1, track INTEGER NOT NULL DEFAULT -1,
disc INTEGER NOT NULL DEFAULT -1, disc INTEGER NOT NULL DEFAULT -1,
year INTEGER NOT NULL DEFAULT -1, year INTEGER NOT NULL DEFAULT -1,
originalyear INTEGER NOT NULL DEFAULT 0, originalyear INTEGER NOT NULL DEFAULT 0,
genre TEXT NOT NULL, genre TEXT,
compilation INTEGER NOT NULL DEFAULT -1, compilation INTEGER NOT NULL DEFAULT 0,
composer TEXT NOT NULL, composer TEXT,
performer TEXT NOT NULL, performer TEXT,
grouping TEXT NOT NULL, grouping TEXT,
comment TEXT NOT NULL, comment TEXT,
lyrics TEXT NOT NULL, lyrics TEXT,
artist_id INTEGER NOT NULL DEFAULT -1, artist_id TEXT,
album_id TEXT NOT NULL, album_id TEXT,
song_id INTEGER NOT NULL DEFAULT -1, song_id TEXT,
beginning INTEGER NOT NULL DEFAULT 0, beginning INTEGER NOT NULL DEFAULT 0,
length INTEGER NOT NULL DEFAULT 0, length INTEGER NOT NULL DEFAULT 0,