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

Delete Behavior error when using optional enum #10

Open
pergerch opened this issue Jan 4, 2019 · 0 comments
Open

Delete Behavior error when using optional enum #10

pergerch opened this issue Jan 4, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pergerch
Copy link
Member

pergerch commented Jan 4, 2019

We are setting cascade as default delete behavior, whereas the DeleteBehavior enum defines ClientSetNull is the default for optional relationships. That is, for relationships that have nullable foreign keys.

@pergerch pergerch added the bug Something isn't working label Jan 4, 2019
@pergerch pergerch self-assigned this Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant