players cache wip
This commit is contained in:
1 parent
713da3b266
commit
1949a06480
6 files changed
+70
-5
No files matched your search
@@ -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',
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user