statistic on separate page wip

This commit is contained in:
salam committed 2026-04-28 16:50:23 +02:00
1 parent ad36ba555f
commit 422681df01
34 files changed
+660 -734

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('statistic_fixtures', function (Blueprint $table) {
$table->id();
$table->integer('sport_id')->index();
$table->integer('league_id')->index();
$table->integer('home_id')->index();
$table->integer('away_id')->index();
$table->dateTime('starttime')->index();
$table->decimal('exp_home', 15, 14)->default(0);
$table->decimal('exp_away', 15, 14)->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('statistic_fixtures');
}
};