Answers for "laravel db set default value current date"

PHP
2

laravel date default now

$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));
Posted by: Guest on February-26-2021

Code answers related to "laravel db set default value current date"

Browse Popular Code Answers by Language