Answers for "laravel migration add datetime column with default"

PHP
1

laravel migration add datetime column with default

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

how to use datetime.now in migration laravel

Laravel Migration Datetime Now
Posted by: Guest on February-04-2021

Code answers related to "laravel migration add datetime column with default"

Browse Popular Code Answers by Language