whereNotNull('editorial_draft')->count(); try{$migration->down();throw new LogicException('Destructive down was not refused');}catch(RuntimeException $e){if(!str_contains($e->getMessage(),'preservar coluna'))throw $e;$message=$e->getMessage();} $record=['target'=>$target,'refused'=>true,'message'=>$message,'column_preserved'=>Illuminate\Support\Facades\Schema::hasColumn('investment_zones','editorial_draft'),'draft_count_preserved'=>Illuminate\Support\Facades\DB::table('investment_zones')->whereNotNull('editorial_draft')->count()===$before]; file_put_contents(__DIR__.'/DOWN-RECUSADO-QA.json',json_encode($record,JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE));echo json_encode($record);