update migration files for pivot tables;