release / govulncheck (push) Successful in 15s
release / web (push) Failing after 17s
release / go (push) Successful in 1m13s
release / integration (push) Successful in 4m56s
release / android (push) Successful in 5m9s
release / Build signed APK (releases and dev) (push) Successful in 5m19s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Skipped
release / Verify release artifacts (tag releases only) (push) Skipped
Migration 0091 drops lidarr_config and renames the quarantine tables, types, indexes and the history column off the Lidarr name. The Integrations Lidarr card, the Reports "Delete via Lidarr" action, the merge and remove-track unmonitor options, the Lidarr audit actions and error codes go, on the server, web and Android. The README describes acquisition as it is now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
1.7 KiB
SQL
30 lines
1.7 KiB
SQL
ALTER TABLE quarantine_actions RENAME CONSTRAINT quarantine_actions_admin_id_fkey TO lidarr_quarantine_actions_admin_id_fkey;
|
|
ALTER TABLE quarantine RENAME CONSTRAINT quarantine_track_id_fkey TO lidarr_quarantine_track_id_fkey;
|
|
ALTER TABLE quarantine RENAME CONSTRAINT quarantine_user_id_fkey TO lidarr_quarantine_user_id_fkey;
|
|
|
|
ALTER INDEX quarantine_actions_created_idx RENAME TO lidarr_quarantine_actions_created_idx;
|
|
ALTER INDEX quarantine_actions_track_idx RENAME TO lidarr_quarantine_actions_track_idx;
|
|
ALTER INDEX quarantine_actions_pkey RENAME TO lidarr_quarantine_actions_pkey;
|
|
ALTER TABLE quarantine_actions RENAME COLUMN album_mbid TO lidarr_album_mbid;
|
|
ALTER TYPE quarantine_action_kind RENAME VALUE 'deleted_album' TO 'deleted_via_lidarr';
|
|
ALTER TYPE quarantine_action_kind RENAME TO lidarr_quarantine_action_kind;
|
|
ALTER TABLE quarantine_actions RENAME TO lidarr_quarantine_actions;
|
|
|
|
ALTER INDEX quarantine_pkey RENAME TO lidarr_quarantine_pkey;
|
|
ALTER INDEX quarantine_track_idx RENAME TO lidarr_quarantine_track_idx;
|
|
ALTER TYPE quarantine_reason RENAME TO lidarr_quarantine_reason;
|
|
ALTER TABLE quarantine RENAME TO lidarr_quarantine;
|
|
|
|
CREATE TABLE lidarr_config (
|
|
id smallint PRIMARY KEY DEFAULT 1 CHECK (id = 1),
|
|
enabled boolean NOT NULL DEFAULT false,
|
|
base_url text,
|
|
api_key text,
|
|
default_quality_profile_id int,
|
|
default_root_folder_path text,
|
|
default_metadata_profile_id integer,
|
|
created_at timestamptz NOT NULL DEFAULT now(),
|
|
updated_at timestamptz NOT NULL DEFAULT now()
|
|
);
|
|
INSERT INTO lidarr_config (id, enabled) VALUES (1, false);
|