Files
HealthLog/prisma/migrations/0205_v123_drop_bugreport/migration.sql
T
Marc-André Bombeck de33f1ad4c chore: remove the bug-report integration
Drop the in-app bug-report surface end to end: the user submission page,
the feedback intake and admin inbox, the optional GitHub-issue
escalation, the operator config, and the dedicated achievement badges.

- delete the /bugreport page and the bugreport / feedback / admin-feedback API routes
- drop the Feedback model, its enums, and the AppSettings GitHub-issue and enable columns (migration 0205)
- remove the admin Feedback section, the Bug Report integration card, and the system-status row
- drop the bug-report nav entry and the app-settings provider that only carried its flag
- remove the bug-hunter achievement badges and their metric
- prune the related i18n keys across every locale and the encrypted-column and key-rotation registries
2026-06-27 20:37:35 +02:00

18 lines
705 B
SQL

-- v1.23 — remove the bug-report integration.
--
-- The in-app bug-report / feedback surface (user form, admin inbox, optional
-- GitHub-issue escalation) is retired. This migration drops the dedicated
-- feedback table, its enums, and the three AppSettings columns that held the
-- GitHub-issue credentials and the enable toggle.
--
-- Destructive by design: the feature is gone, so its stored data goes with it.
DROP TABLE IF EXISTS "feedback";
DROP TYPE IF EXISTS "feedback_status";
DROP TYPE IF EXISTS "feedback_category";
ALTER TABLE "app_settings"
DROP COLUMN IF EXISTS "github_issue_token_encrypted",
DROP COLUMN IF EXISTS "github_issue_repo",
DROP COLUMN IF EXISTS "bug_report_enabled";