$ migration_generator: fixs and add index when adding reference in add column