Deploy Ladill Hosting / deploy (push) Failing after 17s
Shared web hosting extracted from the platform monolith, with CI deploy to /var/www/ladill-hosting matching Bird/Domains/Email. Co-authored-by: Cursor <cursoragent@cursor.com>
44 lines
1.0 KiB
PHP
44 lines
1.0 KiB
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
class DomainNsCheck extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $fillable = [
|
|
'domain_id',
|
|
'check_type',
|
|
'result',
|
|
'expected_nameservers',
|
|
'observed_nameservers',
|
|
'has_authoritative_answer',
|
|
'manual_records_total',
|
|
'manual_records_verified',
|
|
'status_before',
|
|
'status_after',
|
|
'state_before',
|
|
'state_after',
|
|
'notes',
|
|
'checked_at',
|
|
];
|
|
|
|
protected $casts = [
|
|
'expected_nameservers' => 'array',
|
|
'observed_nameservers' => 'array',
|
|
'has_authoritative_answer' => 'boolean',
|
|
'manual_records_total' => 'integer',
|
|
'manual_records_verified' => 'integer',
|
|
'checked_at' => 'datetime',
|
|
];
|
|
|
|
public function domain(): BelongsTo
|
|
{
|
|
return $this->belongsTo(Domain::class);
|
|
}
|
|
}
|