Fix dump_schema_after_migration error