A free open source IT asset/license management system
Add alert_on_response_id to CheckoutAcceptance
Marcus Moore360f5b753880
diff --git a/app/Models/CheckoutAcceptance.php b/app/Models/CheckoutAcceptance.phpindex e44a330ebc..2ca9c5b48b 100644--- a/app/Models/CheckoutAcceptance.php+++ b/app/Models/CheckoutAcceptance.php@@ -15,6 +15,7 @@ class CheckoutAcceptance extends Modelprotected $casts = ['accepted_at' => 'datetime','declined_at' => 'datetime',+ 'alert_on_response_id' => 'integer',];/**diff --git a/database/migrations/2025_06_05_200518_add_alert_on_response_id_to_checkout_acceptances_table.php b/database/migrations/2025_06_05_200518_add_alert_on_response_id_to_checkout_acceptances_table.phpnew file mode 100644index 0000000000..ff9ad310f5--- /dev/null+++ b/database/migrations/2025_06_05_200518_add_alert_on_response_id_to_checkout_acceptances_table.php@@ -0,0 +1,27 @@+<?php++use Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Support\Facades\Schema;++return new class extends Migration {+ /**+ * Run the migrations.+ */+ public function up(): void+ {+ Schema::table('checkout_acceptances', function (Blueprint $table) {+ $table->unsignedBigInteger('alert_on_response_id')->nullable()->after('note');+ });+ }++ /**+ * Reverse the migrations.+ */+ public function down(): void+ {+ Schema::table('checkout_acceptances', function (Blueprint $table) {+ $table->dropColumn('alert_on_response_id');+ });+ }+};