updated migrations for join tables