Skip to content

Revert "Remove emergency alerts data"#4213

Merged
leohemsted merged 1 commit into
mainfrom
revert-4201-remove-emergency-alerts-data
Oct 4, 2024
Merged

Revert "Remove emergency alerts data"#4213
leohemsted merged 1 commit into
mainfrom
revert-4201-remove-emergency-alerts-data

Conversation

@leohemsted

@leohemsted leohemsted commented Oct 4, 2024

Copy link
Copy Markdown
Contributor

Reverts #4201

Sadly this doesn't work, as api_key has a foreign key relationship to notification_history, so even though these api keys have only been used for broadcasts, it needs to do a full check for each key on notification_history

we'd have the same problem when we get further in the script to deleting templates_history for the same reason

i'll have a think and re-approach this from another angle

@leohemsted leohemsted enabled auto-merge October 4, 2024 16:14
@leohemsted leohemsted merged commit 4943181 into main Oct 4, 2024
@leohemsted leohemsted deleted the revert-4201-remove-emergency-alerts-data branch October 4, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants