Unrestrict primary key for join tables