close election

This commit is contained in:
fsociety
2024-09-29 16:51:35 +02:00
parent 736dcbfe1b
commit e76a60c600
3 changed files with 80 additions and 19 deletions

View File

@@ -7,4 +7,11 @@ use Illuminate\Database\Eloquent\Model;
class Election extends Model
{
protected $guarded = [];
protected function casts(): array
{
return [
'end_time' => 'datetime',
];
}
}