Commit 354c7bb
authored
Cancel upcoming BD SMSs (#5528)
**Story card:**
[sc-14668](https://app.shortcut.com/simpledotorg/story/14668/delete-all-upcoming-bd-notifications-for-stale-patients)
## Because
Stale patient experiments use up credit meant for current patients
## This addresses
Cancelling the experiments for stale patients
## Test instructions
1. Ran the underlying SQL in metabase to confirm the set
1. Ran the query (without the `destroy`) in prod to match (1)1 parent 99556b8 commit 354c7bb
File tree
2 files changed
+15
-1
lines changed- db
- data
2 files changed
+15
-1
lines changedLines changed: 14 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments