Commit 5a5345b
authored
ref(crons): Delete Monitor.is_muted database column (stage 4) (#103677)
[NEW-564: There needs to be some way to mute the entire cron
detector](https://linear.app/getsentry/issue/NEW-564/there-needs-to-be-some-way-to-mute-the-entire-cron-detector)
Stage 4 of the migration completes the removal of Monitor.is_muted:
- Adds migration 0013 to physically delete the is_muted column from the
database
- Uses SafeRemoveField with DeletionAction.DELETE to safely drop the
column
- This should be run after Stage 3 has been deployed and validated in
production
This completes the migration from monitor-level muting to
environment-level muting.1 parent 7222bd6 commit 5a5345b
File tree
2 files changed
+34
-1
lines changed- src/sentry/monitors/migrations
2 files changed
+34
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments