2023-08-16 14:50:31 +00:00
|
|
|
CREATE TABLE "tracked_playlist" (
|
2023-09-12 18:35:49 +00:00
|
|
|
rule_id UUID NOT NULL PRIMARY KEY, -- Internal ID
|
|
|
|
playlist_id UUID, -- UUID of the playlist in navidrome
|
|
|
|
playlist_name VARCHAR(250), -- Name of the playlist in navidrome
|
|
|
|
playlist_size INT NOT NULL, -- Max number of tracks to populate
|
|
|
|
tracking_user VARCHAR(250), -- User to track stats for
|
|
|
|
tracking_type VARCHAR(14), -- Matches time period params from listenbrainz
|
|
|
|
reduce_duplication_on VARCHAR(250) -- Allow e.g preferring songs from different albums or artists
|
2023-08-16 14:50:31 +00:00
|
|
|
);
|