laravel create table timestamp code example
Example 1: mysql timestamp in laravel migration
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));
Example 2: timestamp in model laravel
$user = User::find(1);
$user->profile_views_count = 123;
$user->timestamps = false;
$user->save();