Answers for "how to use datetime.now in migration laravel"

PHP
1

created_at default value laravel

$table->timestamp('created_at')->useCurrent();
Posted by: Guest on October-09-2020
1

current time in laravel migration

$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 "how to use datetime.now in migration laravel"

Browse Popular Code Answers by Language