mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 10:29:58 +02:00
Remove the /v1/events and /v1/crashes routes, their normalizers and storage paths, and simplify retention to the bugs table. Add a migration dropping the now-unused event_batches and crashes tables, and regenerate worker types.
11 lines
459 B
SQL
11 lines
459 B
SQL
-- Telemetry and crash auto-reporting were removed from the app; only user-initiated
|
|
-- bug reports remain. Drop the now-unused ingestion tables and their indexes.
|
|
DROP INDEX IF EXISTS idx_event_batches_received;
|
|
DROP INDEX IF EXISTS idx_event_batches_install;
|
|
DROP TABLE IF EXISTS event_batches;
|
|
|
|
DROP INDEX IF EXISTS idx_crashes_received;
|
|
DROP INDEX IF EXISTS idx_crashes_fingerprint;
|
|
DROP INDEX IF EXISTS idx_crashes_install;
|
|
DROP TABLE IF EXISTS crashes;
|