This commit is contained in:
salam committed 2026-01-01 13:32:19 +01:00
1 parent a26c555b05
commit cec5a5e2f7
20 files changed
+211 -120

No files matched your search

@@ -11,11 +11,13 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('element_filters', function (Blueprint $table) {
Schema::create('element_providers', function (Blueprint $table) {
$table->id();
$table->integer('sport_id')->index();
$table->integer('country_id')->default(0)->nullable()->index();
$table->integer('element_id')->index();
$table->integer('bkm_element_id')->index();
$table->integer('bookmaker_id')->index();
$table->integer('provider_id')->default(0)->nullable()->index();
$table->integer('provider_element_id')->index();
$table->string('name');
$table->timestamps();
});
@@ -26,6 +28,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('element_filters');
Schema::dropIfExists('element_providers');
}
};
@@ -1,31 +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('group_filters', function (Blueprint $table) {
$table->id();
$table->integer('group_id')->index();
$table->integer('bkm_group_id')->index();
$table->integer('bookmaker_id')->index();
$table->string('name')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('group_filters');
}
};
@@ -11,11 +11,13 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('competition_group_filters', function (Blueprint $table) {
Schema::create('competition_group_providers', function (Blueprint $table) {
$table->id();
$table->integer('sport_id')->index();
$table->integer('country_id')->default(0)->nullable()->index();
$table->integer('competition_group_id')->default(0)->nullable()->index();
$table->integer('bkm_competition_group_id')->default(0)->nullable()->index();
$table->integer('bookmaker_id')->default(0)->nullable()->index();
$table->integer('provider_id')->default(0)->nullable()->index();
$table->integer('provider_group_id')->default(0)->nullable()->index();
$table->string('name')->nullable();
$table->timestamps();
});
@@ -26,6 +28,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('competition_group_filters');
Schema::dropIfExists('competition_group_providers');
}
};