file and some fix
This commit is contained in:
@ -71,4 +71,21 @@ class File extends \yii\db\ActiveRecord
|
||||
'status' => 'Status',
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function fields(): array
|
||||
{
|
||||
return [
|
||||
'id',
|
||||
'name',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
'url',
|
||||
'type',
|
||||
'mime-type',
|
||||
'status',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user