Add servers and privatekeys to database

This commit is contained in:
Andras Bacsai
2023-03-24 15:47:58 +01:00
parent 26cfcd31f8
commit f7c615c958
7 changed files with 146 additions and 0 deletions

11
app/Models/Server.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
namespace App\Models;
class Server extends BaseModel
{
public function private_key()
{
return $this->morphMany(PrivateKey::class, 'private_key_morph');
}
}