mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-31 09:44:50 +01:00
Fix schemas
This commit is contained in:
parent
28ee967371
commit
699e8e3ddb
@ -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,
|
||||
|
@ -35,9 +35,9 @@ CREATE TABLE IF NOT EXISTS 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,
|
||||
@ -92,9 +92,9 @@ CREATE TABLE IF NOT EXISTS tidal_artists_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,
|
||||
@ -149,9 +149,9 @@ CREATE TABLE IF NOT EXISTS tidal_albums_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,
|
||||
@ -206,9 +206,9 @@ CREATE TABLE IF NOT EXISTS tidal_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,
|
||||
@ -279,9 +279,9 @@ CREATE TABLE IF NOT EXISTS playlist_items (
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user