mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 07:01:06 +03:30
testing
This commit is contained in:
+8
-1
@@ -11,7 +11,7 @@ class Item extends Model implements HasMedia
|
||||
{
|
||||
use HasMediaTrait;
|
||||
|
||||
public $fillable = [ 'name' , 'size' , 'unique_id' , 'specific' , 'note' , 'user_id' , 'udi' , 'status' , 'repair' , 'package_id' , 'creator_id' ];
|
||||
public $fillable = [ 'name' , 'size' , 'unique_id' , 'specific' , 'note' , 'user_id' , 'udi' , 'status' , 'repair' , 'package_id' , 'creator_id' ];
|
||||
|
||||
public function package()
|
||||
{
|
||||
@@ -59,4 +59,11 @@ class Item extends Model implements HasMedia
|
||||
->nonQueued()
|
||||
->performOnCollections( 'images' );
|
||||
}
|
||||
|
||||
protected static function getValidCollections(): array
|
||||
{
|
||||
return [
|
||||
'images' ,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user