From 37cc3ae20d65031b940e62aedb90db86bacba123 Mon Sep 17 00:00:00 2001 From: notCharles Date: Sat, 11 May 2024 21:39:00 -0400 Subject: [PATCH] Oopsie Woopsie --- .../migrations/2016_10_23_201624_add_foreign_allocations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2016_10_23_201624_add_foreign_allocations.php b/database/migrations/2016_10_23_201624_add_foreign_allocations.php index b401f8fa2..2d829060a 100644 --- a/database/migrations/2016_10_23_201624_add_foreign_allocations.php +++ b/database/migrations/2016_10_23_201624_add_foreign_allocations.php @@ -12,7 +12,7 @@ return new class extends Migration public function up(): void { Schema::table('allocations', function (Blueprint $table) { - $table->unsignedInteger('assigned_to')->change(); + $table->unsignedInteger('assigned_to')->nullable()->change(); $table->unsignedInteger('node')->change(); });