Allow statistics to be removed from /flush

This commit is contained in:
James Cole
2025-09-26 19:48:20 +02:00
parent 853a99852e
commit 822dee6e70
4 changed files with 9 additions and 8 deletions

View File

@@ -14,14 +14,12 @@ use Illuminate\Database\Eloquent\SoftDeletes;
class PeriodStatistic extends Model
{
use ReturnsIntegerUserIdTrait;
use SoftDeletes;
protected function casts(): array
{
return [
'created_at' => 'datetime',
'updated_at' => 'datetime',
'deleted_at' => 'datetime',
'start' => SeparateTimezoneCaster::class,
'end' => SeparateTimezoneCaster::class,
];