comparatore bookmaker odds wip

This commit is contained in:
salam committed 2025-12-12 16:30:00 +01:00
1 parent adaec7b3dc
commit 218c1e6e1c
59 files changed
+470 -129

No files matched your search

@@ -13,10 +13,12 @@ return new class extends Migration
{
Schema::create('multilines', function (Blueprint $table) {
$table->id();
$table->integer('sport_id');
$table->integer('client_id')->default(0);
$table->integer('bettype_id')->default(0);
$table->integer('bookmaker_id')->default(0);
$table->integer('sort-order')->default(0);
$table->integer('matchpart_id')->default(0);
$table->integer('sort')->default(0);
$table->timestamps();
});
}
@@ -0,0 +1,37 @@
<?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('matchparts', function (Blueprint $table) {
$table->id();
$table->string('short');
$table->string('name');
$table->string('color');
$table->boolean('is_active')->default(0);
$table->integer('soccer')->default(0);
$table->integer('icehockey')->default(0);
$table->integer('basketball')->default(0);
$table->integer('tennis')->default(0);
$table->integer('handball')->default(0);
$table->integer('rugby')->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('matchparts');
}
};