changed migration table to many-to-many