laravel migration datetime default value code example
Example 1: created_at default value laravel
$table->timestamp('created_at')->useCurrent();
Example 2: current time in laravel migration
$table->timestamp('column_name')->useCurrent();
$table->timestamp('created_at')->useCurrent();
$table->timestamp('column_name')->useCurrent();