Set default for the birthday of a person to null.
This commit is contained in:
@@ -22,7 +22,7 @@ class CreatePeopleTable extends Migration
|
|||||||
$table->string('surname')->nullable();
|
$table->string('surname')->nullable();
|
||||||
|
|
||||||
// Date of birth
|
// Date of birth
|
||||||
$table->date('date_of_birth')->nullable()->default();
|
$table->date('date_of_birth')->nullable()->default(null);
|
||||||
|
|
||||||
// Adress
|
// Adress
|
||||||
$table->string('city')->nullable();
|
$table->string('city')->nullable();
|
||||||
|
|||||||
Reference in New Issue
Block a user