This commit is contained in:
Andras Bacsai committed 2023-03-27 14:31:42 +02:00
1 parent 1c87146a50
commit 653efb6983
21 files changed
+180 -29

No files matched your search

+2 -2
View File
@@ -4,8 +4,8 @@ namespace App\Models;
class Server extends BaseModel
{
public function privateKeys()
public function privateKey()
{
return $this->morphToMany(PrivateKey::class, 'private_keyable');
return $this->belongsTo(PrivateKey::class);
}
}