feat(db): migration 106 also drops the request enums
release / go (push) Failing after 1m16s
release / web (push) Successful in 1m15s
release / govulncheck (push) Successful in 19s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / android (push) Canceled after 2m16s
release / Build signed APK (push) Canceled after 1m7s
release / integration (push) Canceled after 3m40s

request_kind and request_status were the requests table's column types
and outlived it. No database has run 106 yet, so it carries the drop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-23 00:36:23 -05:00
co-authored by Claude Opus 5.5
parent c5e5387977
commit 27b52c3993
3 changed files with 7 additions and 88 deletions
@@ -1,3 +1,6 @@
CREATE TYPE request_kind AS ENUM ('artist', 'album', 'track');
CREATE TYPE request_status AS ENUM ('pending', 'approved', 'rejected', 'completed', 'failed');
ALTER TABLE playback_errors
DROP CONSTRAINT playback_errors_resolution_check,
ADD CONSTRAINT playback_errors_resolution_check
@@ -5,3 +5,7 @@ ALTER TABLE playback_errors
DROP CONSTRAINT playback_errors_resolution_check,
ADD CONSTRAINT playback_errors_resolution_check
CHECK (resolution IS NULL OR resolution IN ('hidden', 'deleted', 'fixed', 'ignored'));
-- The enums the requests table used, left behind when it went.
DROP TYPE request_kind;
DROP TYPE request_status;