Answers for "add date column in laravel migration"

PHP
1

laravel migration add datetime column with default

$table->timestamp('column_name')->useCurrent();
Posted by: Guest on November-27-2020
0

how to set field type of date of birth in laravel

$table->date('date_of_birth');
Posted by: Guest on November-16-2020

Code answers related to "add date column in laravel migration"

Browse Popular Code Answers by Language