f57684b024
Add new testhost Remove privatekey injection from Dockerfile
17 lines
288 B
PHP
17 lines
288 B
PHP
<?php
|
|
|
|
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');
|
|
}
|
|
}
|