mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
fixes
This commit is contained in:
@@ -23,22 +23,16 @@ class Server extends BaseModel
|
||||
'team_id',
|
||||
'private_key_id',
|
||||
'extra_attributes',
|
||||
'smtp_attributes',
|
||||
];
|
||||
|
||||
public $casts = [
|
||||
'extra_attributes' => SchemalessAttributes::class,
|
||||
'smtp_attributes' => SchemalessAttributes::class,
|
||||
];
|
||||
|
||||
public function scopeWithExtraAttributes(): Builder
|
||||
{
|
||||
return $this->extra_attributes->modelScope();
|
||||
}
|
||||
public function scopeWithSmtpAttributes(): Builder
|
||||
{
|
||||
return $this->smtp_attributes->modelScope();
|
||||
}
|
||||
|
||||
public function standaloneDockers()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user