mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
WIP
This commit is contained in:
1 parent
1c87146a50
commit
653efb6983
21 files changed
+180
-29
No files matched your search
@@ -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