Answers for "how to use laravel datetime migration"

PHP
1

laravel migration add datetime column with default

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

Code answers related to "how to use laravel datetime migration"

Browse Popular Code Answers by Language