laravel how to add timestamp to migration 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();