modifications details
This commit is contained in:
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');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user