You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried adding 'OnDeleteCascadeon a model definition but typedonDeleteCascade(starting with a lower case). Of course, the delete cascade feature didn'w work. However I was suprised that the compiler didn't winge about it. I don't know if adding something after a reference declaration is invalid or mean something, but letting people writeonDeleteCascade` is misleading. I would normally not test things like that. I only did it because I was unsure if and how it would work (first time I am using it).
The text was updated successfully, but these errors were encountered:
I tried adding 'OnDeleteCascade
on a model definition but typed
onDeleteCascade(starting with a lower case). Of course, the delete cascade feature didn'w work. However I was suprised that the compiler didn't winge about it. I don't know if adding something after a reference declaration is invalid or mean something, but letting people write
onDeleteCascade` is misleading. I would normally not test things like that. I only did it because I was unsure if and how it would work (first time I am using it).The text was updated successfully, but these errors were encountered: