mirror of
https://github.com/tiennm99/coolify.git
synced 2026-06-21 01:45:59 +00:00
9f46586d4a
Replace $guarded usage with explicit $fillable arrays across all models. Sync fillable definitions with current database schema and add tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
355 B
PHP
21 lines
355 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
class DockerCleanupExecution extends BaseModel
|
|
{
|
|
protected $fillable = [
|
|
'status',
|
|
'message',
|
|
'cleanup_log',
|
|
'finished_at',
|
|
];
|
|
|
|
public function server(): BelongsTo
|
|
{
|
|
return $this->belongsTo(Server::class);
|
|
}
|
|
}
|