mysql timestamp in laravel migration
snippet in sql

mysql timestamp in laravel migration

user503

$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));