NorwoodAndBrixtonFoodbank / nbf-website

https://main.d3dkw68f839t0q.amplifyapp.com/
5 stars 2 forks source link

#373: fix migration that removes 'Map Generated' events from breaking… #438

Closed stonelink closed 2 months ago

stonelink commented 2 months ago

… audit log constraint

What's changed

Sorry, the migration in PR #436 didn't check for audit log constraint before deleting a defunct status event. https://github.com/NorwoodAndBrixtonFoodbank/nbf-website/actions/runs/10061976750/job/27813328454 image

Therefore I'm editing that migration here.

Testing

I did the following:

Before deployment, I've also checked that the dev DB's Migrations table does not say that this migration has been run yet.


AI generated change summary

The following is a summary of the changes in the PR generated by What The Diff. Delete the command below if you don't want this to be generataed.