laravel database timestamp default 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();