laravel migration on update current_timestamp code example
Example: mysql timestamp in laravel migration
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));