add ExpectiveApproach

This commit is contained in:
salam committed 2026-09-17 09:42:27 +02:00
1 parent 3a78f65eb2
commit 4dccc528cc
3 files changed
+77

No files matched your search

@@ -0,0 +1,36 @@
<?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');
}
};