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

@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('sofa_score_player_caches', function (Blueprint $table) {
$table->id();
$table->string('hash')->index();
$table->json('players');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('sofa_score_player_caches');
}
};