mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 22:14:26 +00:00
Add Servers and PrivateKeys
Add new testhost Remove privatekey injection from Dockerfile
This commit is contained in:
1 parent
9e326d15b9
commit
f57684b024
14 files changed
+116
-38
No files matched your search
@@ -4,8 +4,13 @@ namespace App\Models;
|
||||
|
||||
class PrivateKey extends BaseModel
|
||||
{
|
||||
public function private_key_morph()
|
||||
public function private_keyables()
|
||||
{
|
||||
return $this->morphTo();
|
||||
return $this->hasMany(PrivateKeyable::class);
|
||||
}
|
||||
|
||||
public function servers()
|
||||
{
|
||||
return $this->morphedByMany(Server::class, 'private_keyable');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user