Allow syndication links to be updated more easily/reliably bu casting syndicates to array
This commit is contained in:
parent
bab7074316
commit
8e113ce3d0
3 changed files with 15 additions and 2 deletions
|
@ -13,6 +13,15 @@ class Bookmark extends Model
|
|||
*/
|
||||
protected $fillable = ['url', 'name', 'content'];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [
|
||||
'syndicates' => 'array',
|
||||
];
|
||||
|
||||
/**
|
||||
* The tags that belong to the bookmark.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue