From 4c9c374090793e76016bad5e0c4b37e4ebbc80a5 Mon Sep 17 00:00:00 2001 From: Dhaverd Date: Mon, 28 Oct 2024 01:05:25 +0800 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D1=84=D0=B8=D0=BA=D1=81=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BC=D0=B8=D0=B3=D1=80=D0=B0=D1=86=D0=B8=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/migrations/2024_10_26_191136_create_wishes_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2024_10_26_191136_create_wishes_table.php b/database/migrations/2024_10_26_191136_create_wishes_table.php index ed8a53f..04c9a92 100644 --- a/database/migrations/2024_10_26_191136_create_wishes_table.php +++ b/database/migrations/2024_10_26_191136_create_wishes_table.php @@ -16,8 +16,8 @@ return new class extends Migration $table->unsignedBigInteger('user_id'); $table->foreign('user_id')->references('id')->on('users'); $table->string('name', length: 256); - $table->double('price'); - $table->string('url', length: 256); + $table->double('price')->nullable(); + $table->string('url', length: 256)->nullable(); $table->timestamps(); }); }