add mutators to jsonb columns

This commit is contained in:
2018-07-31 20:32:15 +02:00
parent 7746d85e5f
commit df0e06045f
5 changed files with 13 additions and 6 deletions
+4
View File
@@ -10,6 +10,10 @@ namespace App\Models;
*/
class Row extends BaseModel
{
protected $casts = [
'data' => 'object',
];
protected $guarded = [];
public $timestamps = false;
}