From 07c250eaac05cb87eeed107b857d5e0a7a285af9 Mon Sep 17 00:00:00 2001 From: nisse Date: Mon, 7 Apr 2025 19:44:04 -0400 Subject: [PATCH] Fix product name nullability in migration --- database/migrations/011_create_order_products_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/011_create_order_products_table.php b/database/migrations/011_create_order_products_table.php index a9ec916..12b0167 100644 --- a/database/migrations/011_create_order_products_table.php +++ b/database/migrations/011_create_order_products_table.php @@ -12,7 +12,7 @@ public function up(): void $table->id(); $table->foreignId('order_id')->constrained(); $table->string('sku')->nullable(); - $table->string('product_name'); + $table->string('product_name')->nullable(); $table->string('color')->nullable(); $table->softDeletes();