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
After looking at this I think that it's user error. I probably should have generated a join model first. That bit of the documentation could probably stand to be clearer. I had originally thought that I'd get an array column that would hold a collection of Team ids. (Which might be a nice thing to be able to do somehow. Similar to how we store role_ids on the Membership model.)
Seems like in this case we should warn the user that the use of _ids in the field name would seem to imply that they need a join model but that we can't find one. And we could recommend using {vanilla} like we do for singular _id columns.
I did this:
And the migration didn't include a column for
related_team_ids
.But if I do the singular version like this:
then a column is created for
related_team_id
.The text was updated successfully, but these errors were encountered: