playlistd/migrations/20240418195028_meta_tracker.sql
jude 2bd75c1c06 Add playlist building daemon
This creates playlists when the name would change
2024-04-18 22:33:45 +01:00

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
);