mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 08:01:05 +03:30
fix a problem
This commit is contained in:
@@ -13,6 +13,11 @@ class Package extends Model
|
||||
return $this->belongsTo( 'App\User' );
|
||||
}
|
||||
|
||||
public function creator()
|
||||
{
|
||||
return $this->belongsTo( 'App\User' , "creator_id" );
|
||||
}
|
||||
|
||||
public function items()
|
||||
{
|
||||
return $this->hasMany( 'App\Item' );
|
||||
|
||||
Reference in New Issue
Block a user