Add mod_count to playlists table.

This commit is contained in:
Jonathan Bernard 2016-01-31 12:28:22 -06:00
parent f6f6e9399d
commit fa149441cb
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
DROP TABLE artists_albums;
DROP TABLE albums_images;
DROP TABLE artists_images;
DROP TABLE images;
DROP TABLE albums;
DROP TABLE artists;
DROP TABLE media_files_tags;

View File

@ -15,7 +15,8 @@ CREATE TABLE tags (
CREATE TABLE playlists (
id SERIAL PRIMARY KEY,
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 (