Files
playlistd/migrations/20240418195028_meta_tracker.sql
T

10 lines
570 B
SQL
Raw Normal View History

2024-04-18 22:33:45 +01:00
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
);