Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove resolved_by_alert field from state and remove constraint (#5156)
Removes resolved_by_alert field from Django state only. It will still be in db, since it's to expensive to delete it in prod. We remove this field to get rid of ON_DELETE=SET_NULL which causes terrible load from SQL queries. On top of that, we are removing FK to disable referral integrity checks, so alert updates will work. --------- Co-authored-by: Vadim Stepanov <[email protected]>
- Loading branch information