grapper betsapi

This commit is contained in:
salam committed 2025-12-22 08:15:59 +01:00
1 parent 406fd26864
commit a3c9f16550
127 files changed
+158128 -650

No files matched your search

@@ -13,7 +13,6 @@ return new class extends Migration
{
Schema::create('events', function (Blueprint $table) {
$table->id();
$table->integer('tx_id')->default(0)->nullable()->index();
$table->integer('provider_id')->default(0)->nullable()->index();
$table->integer('betsapi_id')->default(0)->nullable()->index();
$table->integer('betradar_id')->default(0)->nullable()->index();
@@ -13,7 +13,6 @@ return new class extends Migration
{
Schema::create('elements', function (Blueprint $table) {
$table->id();
$table->integer('tx_id')->index();
$table->string('name');
$table->integer('sport_id')->index();
$table->timestamps();
@@ -14,7 +14,6 @@ return new class extends Migration
Schema::create('groups', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->integer('tx_id')->index();
$table->integer('sport_id')->index();
$table->integer('competition_group_id')->index();
$table->integer('country_id')->default(0)->nullable()->index();
@@ -14,7 +14,6 @@ return new class extends Migration
Schema::create('competition_groups', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->integer('tx_id')->index();
$table->integer('sport_id')->index();
$table->integer('country_id')->default(0)->nullable()->index();
$table->timestamps();
@@ -25,6 +25,7 @@ return new class extends Migration
$table->decimal('margin', 5, 1)->default(0);
$table->boolean('flag')->default(0);
$table->boolean('nuh_check')->default(0);
$table->timestamp('starting_time')->nullable();
$table->timestamp('last_check_at')->nullable();
$table->timestamp('source_updated_at')->nullable();
$table->timestamps();
@@ -24,6 +24,7 @@ return new class extends Migration
$table->decimal('margin', 5, 1)->default(0);
$table->boolean('flag')->default(0);
$table->boolean('nuh_check')->default(0);
$table->timestamp('starting_time')->nullable();
$table->timestamp('last_check_at')->nullable();
$table->timestamp('source_updated_at')->nullable();
$table->timestamps();
@@ -25,6 +25,7 @@ return new class extends Migration
$table->decimal('margin', 5, 1)->default(0);
$table->boolean('flag')->default(0);
$table->boolean('nuh_check')->default(0);
$table->timestamp('starting_time')->nullable();
$table->timestamp('last_check_at')->nullable();
$table->timestamp('source_updated_at')->nullable();
$table->timestamps();
@@ -15,7 +15,7 @@ return new class extends Migration
$table->id();
$table->string('name');
$table->string('icon')->nullable();
$table->string('image')->nullable();
$table->string('svg')->nullable();
$table->integer('baid')->default(0);
$table->integer('txid')->default(0);
$table->boolean('txso')->default(0);
@@ -13,14 +13,10 @@ return new class extends Migration
{
Schema::create('mappers', function (Blueprint $table) {
$table->id();
$table->integer('event_id')->index();
$table->integer('sport_id')->index();
$table->integer('bookmaker_id')->index();
$table->integer('provider_id')->default(0)->nullable()->index();
$table->integer('tx_id')->default(0)->nullable()->index();
$table->integer('betradar_id')->default(0)->nullable()->index();
$table->integer('betsapi_id')->default(0)->nullable()->index();
$table->integer('bet365_id')->default(0)->nullable()->index();
$table->integer('_1xbet_id')->default(0)->nullable()->index();
$table->integer('betfairsb_id')->default(0)->nullable()->index();
$table->dateTime('starttime')->nullable();
$table->string('group')->nullable();
$table->integer('group_id')->default(0)->nullable()->index();