mirror of
https://github.com/monoscope-tech/monoscope.git
synced 2026-11-16 10:18:01 +00:00
Drop the anomaly ack/archive mirror now its writes are gone
Issue lifecycle state lives on apis.issues alone. These three columns were a
second copy, kept in sync by a prefix sweep over 6.3M rows that no reader ever
consulted — every read path (getAnomaliesVM, the endpoint hash remap, the
recently-active-projects probe) uses only target_hash and created_at.
Held back deliberately until the writes were gone everywhere: 23dafe4f6 removed
them and is live in production as of this commit, so no running replica writes
what this removes. Shipping it in that same deploy would have dropped columns
out from under the replicas still serving the previous image.
acknowledged_by carries anomalies_acknowledged_by_fkey from migration 0001;
DROP COLUMN takes a column's own constraints with it, so this is not reversible
by re-adding the columns alone.
This commit is contained in:
parent
14da1fd0e6
commit
a8dc4fab51
1 changed files with 24 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue