data type for date of birth larvel code example Example: how to set field type of date of birth in laravel $table->date('date_of_birth');