WIP
This commit is contained in:
@@ -4,13 +4,8 @@ namespace App\Models;
|
||||
|
||||
class PrivateKey extends BaseModel
|
||||
{
|
||||
public function private_keyables()
|
||||
{
|
||||
return $this->hasMany(PrivateKeyable::class);
|
||||
}
|
||||
|
||||
public function servers()
|
||||
{
|
||||
return $this->morphedByMany(Server::class, 'private_keyable');
|
||||
return $this->hasMany(Server::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user