mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Revert "Change File model to use fillable as opposed to guardable attributes"
This reverts commit abfe156d8d18483f265a264c9769063cbfde8ba2.
This commit is contained in:
parent
abfe156d8d
commit
8bc440defa
@ -20,26 +20,6 @@ class File extends FileBase
|
||||
*/
|
||||
protected $table = 'system_files';
|
||||
|
||||
/**
|
||||
* @var array The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = [
|
||||
'file_name',
|
||||
'title',
|
||||
'description',
|
||||
'field',
|
||||
'attachment_id',
|
||||
'attachment_type',
|
||||
'is_public',
|
||||
'sort_order',
|
||||
'data',
|
||||
];
|
||||
|
||||
/**
|
||||
* @var array The attributes that aren't mass assignable.
|
||||
*/
|
||||
protected $guarded = [];
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user