Add mod_count to playlists table.
This commit is contained in:
parent
f6f6e9399d
commit
fa149441cb
@ -1,6 +1,7 @@
|
|||||||
DROP TABLE artists_albums;
|
DROP TABLE artists_albums;
|
||||||
DROP TABLE albums_images;
|
DROP TABLE albums_images;
|
||||||
DROP TABLE artists_images;
|
DROP TABLE artists_images;
|
||||||
|
DROP TABLE images;
|
||||||
DROP TABLE albums;
|
DROP TABLE albums;
|
||||||
DROP TABLE artists;
|
DROP TABLE artists;
|
||||||
DROP TABLE media_files_tags;
|
DROP TABLE media_files_tags;
|
||||||
|
@ -15,7 +15,8 @@ CREATE TABLE tags (
|
|||||||
CREATE TABLE playlists (
|
CREATE TABLE playlists (
|
||||||
id SERIAL PRIMARY KEY,
|
id SERIAL PRIMARY KEY,
|
||||||
name VARCHAR NOT NULL,
|
name VARCHAR NOT NULL,
|
||||||
media_file_ids INTEGER[] NOT NULL
|
media_file_ids INTEGER[] NOT NULL,
|
||||||
|
mod_count INTEGER NOT NULL DEFAULT 0
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE bookmarks (
|
CREATE TABLE bookmarks (
|
||||||
|
Loading…
Reference in New Issue
Block a user