wip
This commit is contained in:
1 parent
e9e8db47e0
commit
02f008e1ba
7 files changed
+158
-121
No files matched your search
@@ -1,36 +0,0 @@
|
||||
<?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('expective_approaches', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('position');
|
||||
$table->decimal('goals', 4, 3)->default(0);
|
||||
$table->decimal('assists', 4, 3)->default(0);
|
||||
$table->decimal('cards', 4, 3)->default(0);
|
||||
$table->decimal('fouls', 4, 3)->default(0);
|
||||
$table->decimal('was_fould', 4, 3)->default(0);
|
||||
$table->decimal('offsides', 4, 3)->default(0);
|
||||
$table->decimal('total_shots', 4, 3)->default(0);
|
||||
$table->decimal('shots_on_target', 4, 3)->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('expective_approaches');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,35 @@
|
||||
<?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('expected_minimum_positions', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('position');
|
||||
$table->decimal('gls', 4, 3)->default(0);
|
||||
$table->decimal('crd', 4, 3)->default(0);
|
||||
$table->decimal('fls', 4, 3)->default(0);
|
||||
$table->decimal('ofs', 4, 3)->default(0);
|
||||
$table->decimal('tsh', 4, 3)->default(0);
|
||||
$table->decimal('snt', 4, 3)->default(0);
|
||||
$table->decimal('wlf', 4, 3)->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('expected_minimum_positions');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user