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