generated migration files now also contain information about indexes and references