modifications details

This commit is contained in:
salam committed 2026-07-28 21:37:18 +02:00
1 parent c143dcf727
commit c1892e86aa
21 files changed
+99 -108

No files matched your search

@@ -14,8 +14,8 @@ return new class extends Migration
public function up(): void
{
Schema::create('details', function (Blueprint $collection) {
$collection->unique('tm_player_id');
$collection->index('name');
$collection->unique('ss_player_id');
$collection->index('player_name');
});
}
@@ -16,7 +16,6 @@ return new class extends Migration
Schema::create('players', function (Blueprint $collection) {
$collection->index('match_id');
$collection->index('ss_player_id');
$collection->index('tm_player_id');
});
}
@@ -13,7 +13,7 @@ return new class extends Migration
{
Schema::create('sofa_score_player_per_seasons', function (Blueprint $table) {
$table->id();
$table->integer('tm_player_id')->index();
$table->integer('ss_player_id')->index();
$table->integer('tx_team_id')->index();
$table->string('season')->index();
$table->integer('events_played_home')->default(0)->nullable();