Migrate work_types_relations