From 75d230be2ccdd97927ae4237525c62daf84257cd Mon Sep 17 00:00:00 2001 From: AEQ Dev Date: Mon, 11 Sep 2023 13:35:02 +0100 Subject: [PATCH] make first name not required --- .../migrations/2020_01_01_000001_create_addresses_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2020_01_01_000001_create_addresses_table.php b/database/migrations/2020_01_01_000001_create_addresses_table.php index 7e9fc1f..153fcd0 100755 --- a/database/migrations/2020_01_01_000001_create_addresses_table.php +++ b/database/migrations/2020_01_01_000001_create_addresses_table.php @@ -13,7 +13,7 @@ public function up() Schema::create(config('laravel-address.tables.addresses'), function (Blueprint $table) { // Columns $table->increments('id'); - $table->string('first_name'); + $table->string('first_name')->nullable(); $table->string('last_name')->nullable(); $table->string('phone')->nullable(); $table->string('email')->nullable();