2bd75c1c06
This creates playlists when the name would change
10 lines
570 B
SQL
10 lines
570 B
SQL
CREATE TABLE "create_tracked_playlist"
|
|
(
|
|
id UUID NOT NULL PRIMARY KEY, -- Internal ID
|
|
name_template VARCHAR(250) NOT NULL, -- Name of the playlist in subsonic
|
|
last_name VARCHAR(250), -- Name of last playlist created by this rule
|
|
playlist_size INT NOT NULL, -- Max number of tracks to populate
|
|
tracking_user VARCHAR(250) NOT NULL, -- User to track stats for
|
|
tracking_type VARCHAR(14) NOT NULL -- Matches time period params from listenbrainz
|
|
);
|