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
Are duplicate child_id/parent_id pairs valid? Or should we apply a unique constraint to avoid adding the same child to the same parent more than once, as shown below:
Yes, I think it that adding a unique constraint makes sense. Would you mind adding a test case and making a pull request?
Please make sure that concrete classes will still be able to add thier own unique constraints if needed, I'm not sure about how Django handles that.
Are duplicate child_id/parent_id pairs valid? Or should we apply a unique constraint to avoid adding the same child to the same parent more than once, as shown below:
The text was updated successfully, but these errors were encountered: