-- Switches for the two outside lookups that no source under Admin › Metadata -- sources covers: ListenBrainz's similar songs and artists, which radio and -- the mixes draw on, and MusicBrainz's album track lists, which the duplicate -- resolver reads to tell a song filed in the wrong slot from a repeat. Both -- start on; turning one off keeps what was already fetched. CREATE TABLE lookup_settings ( id boolean PRIMARY KEY DEFAULT true CHECK (id), listenbrainz_similarity boolean NOT NULL DEFAULT true, musicbrainz_track_lists boolean NOT NULL DEFAULT true, updated_at timestamptz NOT NULL DEFAULT now() ); INSERT INTO lookup_settings (id) VALUES (true);