players cache wip

This commit is contained in:
salam committed 2026-08-31 08:23:01 +02:00
1 parent 713da3b266
commit 1949a06480
6 files changed
+70 -5

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class SofaScorePlayerCache extends Model
{
public $incrementing = false;
protected $primaryKey = 'hash';
protected $casts = [
'players' => 'array'
];
protected $fillable = [
'hash',
'players',
];
}