mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update UserSetting model, cast compose_settings and other as json
This commit is contained in:
parent
98f76abbe8
commit
0342027867
1 changed files with 6 additions and 1 deletions
|
@ -6,5 +6,10 @@ use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
class UserSetting extends Model
|
class UserSetting extends Model
|
||||||
{
|
{
|
||||||
protected $fillable = ['user_id'];
|
protected $fillable = ['user_id'];
|
||||||
|
|
||||||
|
protected $casts = [
|
||||||
|
'compose_settings' => 'json',
|
||||||
|
'other' => 'json'
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue