Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ex/db/notifications): update or delete notifications if detour is updated or deleted #2830

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

firestack
Copy link
Member

Turns out, you need to specify this explicitly so that you don't get fkey constraint errors.
I also added on_update in case for some reason we change a detour's primary key so that notifications don't get broken and have constraint errors.

@firestack firestack marked this pull request as ready for review September 30, 2024 15:40
@firestack firestack requested a review from a team as a code owner September 30, 2024 15:40
@firestack firestack merged commit 7ed24b4 into main Sep 30, 2024
30 checks passed
@firestack firestack deleted the kf/asn/dn/fix-notifications-delete branch September 30, 2024 17:29
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