Set default for the birthday of a person to null.

This commit is contained in:
Lukas Halbritter
2018-09-09 11:52:50 +02:00
parent cb0cfacced
commit a4e4025cd4
@@ -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();