mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Allow statistics to be removed from /flush
This commit is contained in:
@@ -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,
|
||||
];
|
||||
|
Reference in New Issue
Block a user