Updating JSON Columns code example
Example: Updating JSON Columns
$affected = DB::table('users')
->where('id', 1)
->update(['options->enabled' => true]);
$affected = DB::table('users')
->where('id', 1)
->update(['options->enabled' => true]);