filter playeer played
This commit is contained in:
1 parent
74e9285bac
commit
5081ec9e32
30 files changed
+4114
-1420
No files matched your search
@@ -0,0 +1,34 @@
|
||||
<?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_per_seasons', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('tm_player_id')->index();
|
||||
$table->integer('tx_team_id')->index();
|
||||
$table->string('season')->index();
|
||||
$table->integer('events_played_home')->default(0)->nullable();
|
||||
$table->integer('events_played_away')->default(0)->nullable();
|
||||
$table->integer('minutes_played_home')->default(0)->nullable();
|
||||
$table->integer('minutes_played_away')->default(0)->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('sofa_score_player_per_seasons');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user