<?php
use Illuminate\Database\Migrations\Migration;use Illuminate\Database\Schema\Blueprint;use Illuminate\Support\Facades\Schema;
return new class extends Migration {public function up():void{Schema::table('deals',function(Blueprint $t){$t->string('loss_category')->nullable();$t->boolean('loss_price_factor')->default(false);$t->boolean('loss_fit_factor')->default(false);$t->boolean('loss_service_factor')->default(false);$t->text('loss_notes')->nullable();$t->date('reengagement_date')->nullable();});}public function down():void{Schema::table('deals',fn(Blueprint $t)=>$t->dropColumn(['loss_category','loss_price_factor','loss_fit_factor','loss_service_factor','loss_notes','reengagement_date']));}};
