Open 4n70w4 opened 5 years ago
I think this bug might still exist. I get the following with a belongsToMany query.
SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'id' in field list is ambiguous (SQL: select `id` from `spokespeople` inner join `release_spokesperson` on `spokespeople`.`id` = `release_spokesperson`.`spokesperson_id` where `release_spokesperson`.`release_id` = 31 and `id` not in (11))
workaround hard patch: