playlistd/migrations/20240418195028_meta_tracker.sql

10 lines
570 B
MySQL
Raw Normal View History

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