Skip to content

Commit 75d230b

Browse files
committed
make first name not required
1 parent 258901f commit 75d230b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2020_01_01_000001_create_addresses_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function up()
1313
Schema::create(config('laravel-address.tables.addresses'), function (Blueprint $table) {
1414
// Columns
1515
$table->increments('id');
16-
$table->string('first_name');
16+
$table->string('first_name')->nullable();
1717
$table->string('last_name')->nullable();
1818
$table->string('phone')->nullable();
1919
$table->string('email')->nullable();

0 commit comments

Comments
 (0)