Update UserSetting model, cast compose_settings and other as json

pull/3035/head
Daniel Supernault 2021-12-04 17:35:50 -07:00
rodzic 98f76abbe8
commit 0342027867
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -6,5 +6,10 @@ use Illuminate\Database\Eloquent\Model;
class UserSetting extends Model
{
protected $fillable = ['user_id'];
protected $fillable = ['user_id'];
protected $casts = [
'compose_settings' => 'json',
'other' => 'json'
];
}