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

Migration to add CASCADE to user_group.group_id #8713

Merged
merged 1 commit into from
May 21, 2024

Conversation

seanh
Copy link
Contributor

@seanh seanh commented May 16, 2024

Add a DB migration to add ON DELETE CASCADE to the user_group.group_id column's foreign key to group.id.

Model: https://github.com/hypothesis/h/pull/8705/files

@seanh seanh requested a review from marcospri May 16, 2024 17:13
@seanh seanh changed the title Migration to add CASCADE to user_group.group_id Migration to add CASCADE to user_group.group_id May 16, 2024
@seanh seanh force-pushed the user_group.group_id-ON_DELETE_CASCADE-migration branch from 85fc3da to a5755a3 Compare May 16, 2024 17:15
Add a DB migration to add `ON DELETE CASCADE` to the
`user_group.group_id` column's foreign key to `group.id`.
@seanh seanh force-pushed the user_group.group_id-ON_DELETE_CASCADE-migration branch from a5755a3 to dd2c4f7 Compare May 21, 2024 12:08
@seanh seanh merged commit a3821ee into main May 21, 2024
6 of 7 checks passed
@seanh seanh deleted the user_group.group_id-ON_DELETE_CASCADE-migration branch May 21, 2024 12:08
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.

None yet

2 participants