Laravel update column for all users based on old value
11:25 23 Oct 2016

I have days column in my users table, I need to run a cron job command using Laravel to decrease 1 from the users days column.

I know that I can use it to update all rows at once:

DB::table('Users')->update(['column' => 'value']);

But how I can set value to each member days - 1 ?

laravel eloquent