You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
561 B
PHTML
22 lines
561 B
PHTML
|
2 months ago
|
<?php
|
||
|
|
|
||
|
|
namespace App\Models;
|
||
|
|
|
||
|
|
final class CloudInstanceRuntime extends Model
|
||
|
|
{
|
||
|
|
protected $connection = 'default';
|
||
|
|
protected $table = 'cloud_instance_runtime';
|
||
|
|
protected $primaryKey = 'instance_id';
|
||
|
|
public $incrementing = false;
|
||
|
|
protected $keyType = 'int';
|
||
|
|
protected $casts = [
|
||
|
|
'instance_id' => 'integer',
|
||
|
|
'host_id' => 'integer',
|
||
|
|
'last_success_at' => 'integer',
|
||
|
|
'last_attempt_at' => 'integer',
|
||
|
|
'revision' => 'integer',
|
||
|
|
'created_at' => 'integer',
|
||
|
|
'updated_at' => 'integer',
|
||
|
|
];
|
||
|
|
}
|