coolify/app/Models/PrivateKey.php

18 lines
273 B
PHP
Raw Normal View History

<?php
namespace App\Models;
class PrivateKey extends BaseModel
{
protected $fillable = [
'name',
'description',
'private_key',
'team_id',
];
public function servers()
{
2023-03-27 14:31:42 +02:00
return $this->hasMany(Server::class);
}
}