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.
28 lines
808 B
PHP
28 lines
808 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
/** Durable local workflow for publishing, repairing or deleting one replica. */
|
|
final class CloudStorageOperation extends Model
|
|
{
|
|
protected $connection = 'default';
|
|
protected $table = 'cloud_storage_operations';
|
|
protected $hidden = ['lease_token', 'result_json'];
|
|
protected $casts = [
|
|
'id' => 'int',
|
|
'artifact_id' => 'int',
|
|
'replica_id' => 'int',
|
|
'source_backend_id' => 'int',
|
|
'target_backend_id' => 'int',
|
|
'effect_may_have_applied' => 'bool',
|
|
'safe_to_resubmit' => 'bool',
|
|
'attempts' => 'int',
|
|
'lease_until' => 'int',
|
|
'available_at' => 'int',
|
|
'next_check_at' => 'int',
|
|
'terminal_at' => 'int',
|
|
'created_at' => 'int',
|
|
'updated_at' => 'int',
|
|
];
|
|
}
|