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.
26 lines
732 B
PHP
26 lines
732 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
/** One immutable-location S3-compatible storage backend generation. */
|
|
final class CloudStorageBackend extends Model
|
|
{
|
|
protected $connection = 'default';
|
|
protected $table = 'cloud_storage_backends';
|
|
protected $hidden = ['sealed_credentials'];
|
|
protected $casts = [
|
|
'id' => 'int',
|
|
'path_style' => 'bool',
|
|
'config_revision' => 'int',
|
|
'tested_revision' => 'int',
|
|
'write_priority' => 'int',
|
|
'consecutive_failures' => 'int',
|
|
'consecutive_successes' => 'int',
|
|
'last_tested_at' => 'int',
|
|
'last_healthy_at' => 'int',
|
|
'next_probe_at' => 'int',
|
|
'created_at' => 'int',
|
|
'updated_at' => 'int',
|
|
];
|
|
}
|