This commit is contained in:
salam committed 2025-12-18 14:26:25 +01:00
1 parent d62d5c5e8e
commit 1723221b88
16 files changed
+980 -16502

No files matched your search

@@ -13,11 +13,10 @@ return new class extends Migration
{
Schema::create('events', function (Blueprint $table) {
$table->id();
$table->integer('txodds_id')->default(0)->nullable()->index();
$table->integer('tx_id')->default(0)->nullable()->index();
$table->integer('provider_id')->default(0)->nullable()->index();
$table->integer('betaid_id')->default(0)->nullable()->index();
$table->integer('betradar_id')->default(0)->nullable()->index();
$table->dateTime('starttime')->nullable();
$table->integer('sport_id')->index();
$table->integer('country_id')->default(0)->nullable()->index();
@@ -13,7 +13,7 @@ return new class extends Migration
{
Schema::create('elements', function (Blueprint $table) {
$table->id();
$table->integer('txodds_id')->index();
$table->integer('tx_id')->index();
$table->string('name');
$table->integer('sport_id')->index();
$table->timestamps();
@@ -14,7 +14,7 @@ return new class extends Migration
Schema::create('groups', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->integer('txodds_id')->index();
$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,7 @@ return new class extends Migration
Schema::create('competition_groups', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->integer('txodds_id')->index();
$table->integer('tx_id')->index();
$table->integer('sport_id')->index();
$table->integer('country_id')->default(0)->nullable()->index();
$table->timestamps();
@@ -19,7 +19,7 @@ return new class extends Migration
$table->string('iso3')->nullable();
$table->string('cc')->nullable();
$table->integer('numeric')->nullable();
$table->integer('txodds_id')->default(0);
$table->integer('tx_id')->default(0);
$table->boolean('is_country')->default(0);
$table->boolean('disabled')->default(0);
$table->timestamps();