fix error of dump_schema_after_migration