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.
virt/web/app/Models/CloudInstanceMigration.php

33 lines
977 B
PHP

<?php
namespace App\Models;
/** Durable orchestration ledger for one cold, same-service VM migration. */
final class CloudInstanceMigration extends Model
{
protected $connection = 'default';
protected $table = 'cloud_instance_migrations';
protected $casts = [
'id' => 'int',
'instance_id' => 'int',
'backup_id' => 'int',
'restore_id' => 'int',
'source_host_id' => 'int',
'source_reservation_id' => 'int',
'target_host_id' => 'int',
'target_reservation_id' => 'int',
'backup_job_id' => 'int',
'restore_job_id' => 'int',
'firewall_job_id' => 'int',
'activate_job_id' => 'int',
'rollback_job_id' => 'int',
'cleanup_job_id' => 'int',
'source_was_running' => 'bool',
'source_autostart_enabled' => 'bool',
'cutover_at' => 'int',
'completed_at' => 'int',
'created_at' => 'int',
'updated_at' => 'int',
];
}