Remove circular reference within playlists table.
This commit is contained in:
parent
f4d0289eab
commit
26f49d438d
@ -53,7 +53,7 @@ CREATE TABLE playlists (
|
|||||||
user_created BOOLEAN NOT NULL DEFAULT FALSE,
|
user_created BOOLEAN NOT NULL DEFAULT FALSE,
|
||||||
name VARCHAR NOT NULL,
|
name VARCHAR NOT NULL,
|
||||||
media_file_count INTEGER NOT NULL DEFAULT 0,
|
media_file_count INTEGER NOT NULL DEFAULT 0,
|
||||||
copied_from_id INTEGER REFERENCES playlists(id) DEFAULT NULL,
|
copied_from_id INTEGER DEFAULT NULL,
|
||||||
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
|
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
|
||||||
last_used TIMESTAMP NOT NULL DEFAULT NOW()
|
last_used TIMESTAMP NOT NULL DEFAULT NOW()
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user