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