2487dde69e
add new private key check server connection
18 lines
273 B
PHP
18 lines
273 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
class PrivateKey extends BaseModel
|
|
{
|
|
protected $fillable = [
|
|
'name',
|
|
'description',
|
|
'private_key',
|
|
'team_id',
|
|
];
|
|
public function servers()
|
|
{
|
|
return $this->hasMany(Server::class);
|
|
}
|
|
}
|