fix dump_schema_after_migration error