update all records in table laravl code example
Example: how to update all row in laravel
DB::table('table')->update(['column' => 1]);
Model::query()->update(['confirmed' => 1]);
DB::table('table')->update(['column' => 1]);
Model::query()->update(['confirmed' => 1]);