wip
This commit is contained in:
1 parent
f5fc937311
commit
d81af0b02b
30 files changed
+381
-267
No files matched your search
@@ -25,7 +25,7 @@ return new class extends Migration
|
||||
$table->decimal('margin', 5, 1)->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ return new class extends Migration
|
||||
$table->decimal('margin', 5, 1)->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ return new class extends Migration
|
||||
$table->decimal('margin', 5, 1)->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ return new class extends Migration
|
||||
$table->decimal('margin', 5, 1)->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ return new class extends Migration
|
||||
$table->decimal('margin', 5, 1)->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ return new class extends Migration
|
||||
$table->decimal('margin', 5, 1)->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ return new class extends Migration
|
||||
$table->decimal('margin', 5, 1)->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ return new class extends Migration
|
||||
$table->decimal('margin', 5, 1)->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ return new class extends Migration
|
||||
$table->boolean('active_spread')->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ return new class extends Migration
|
||||
$table->boolean('active_spread')->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ return new class extends Migration
|
||||
$table->boolean('active_spread')->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ return new class extends Migration
|
||||
$table->boolean('active_spread')->default(0);
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ return new class extends Migration
|
||||
$table->boolean('flags')->default(0);
|
||||
$table->boolean('active_spread')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ return new class extends Migration
|
||||
$table->decimal('difference', 5, 4)->default(0);
|
||||
$table->boolean('active_spread')->default(0);
|
||||
$table->boolean('nuh_check')->default(0);
|
||||
|
||||
$table->timestamp('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
<?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('odds_tables', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('oddnames');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('odds_tables');
|
||||
}
|
||||
};
|
||||
@@ -23,6 +23,7 @@ class DatabaseSeeder extends Seeder
|
||||
MultilineSettingSeeder::class,
|
||||
TxoddsMarketsSeeder::class,
|
||||
CountryItalianSeeder::class,
|
||||
OddsTableSeeder::class,
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class OddsTableSeeder extends Seeder
|
||||
{
|
||||
public function run(): void
|
||||
{
|
||||
/**
|
||||
* Provoider
|
||||
*/
|
||||
$sql = "INSERT INTO `odds_tables` (`id`, `name`, `oddnames`, `created_at`, `updated_at`)
|
||||
VALUES
|
||||
(1, 'odds_2ways', 'h2w,a2w', NULL, NULL),
|
||||
(2, 'odds_2ways_s1', 'h2w,a2w', NULL, NULL),
|
||||
(3, 'odds_3ways', 'h3w,d3w,a3w', NULL, NULL),
|
||||
(4, 'odds_3ways_ht', 'h3w,d3w,a3w', NULL, NULL),
|
||||
(5, 'odds_dc', 'dc1x,dc12,dcx2', NULL, NULL),
|
||||
(6, 'odds_dnb', 'dnb1,dnb2', NULL, NULL),
|
||||
(7, 'odds_ggng', 'gg,ng', NULL, NULL),
|
||||
(8, 'odds_points', 'home,away', NULL, NULL),
|
||||
(9, 'odds_points_ht', 'home,away', NULL, NULL),
|
||||
(10, 'odds_points_q1', 'home,away', NULL, NULL),
|
||||
(11, 'odds_totals', 'over,under', NULL, NULL),
|
||||
(12, 'odds_totals_ht', 'over,under', NULL, NULL),
|
||||
(13, 'odds_totals_q1', 'over,under', NULL, NULL),
|
||||
(14, 'odds_tq', 'htq,atq', NULL, NULL);
|
||||
;
|
||||
";
|
||||
DB::unprepared($sql);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -14,15 +14,15 @@ class SupervisorSeeder extends Seeder
|
||||
*/
|
||||
$sql = "INSERT INTO `supervisors` (`id`, `name`, `provider_id`, `sport_id`, `txodds_market_id`, `sleep`, `limit`, `runtime`, `commandline_options`, `maxsconds`, `lastcall`, `use_lastcall`, `is_supervisor`, `is_active`, `days_from`, `days_to`, `created_at`, `updated_at`)
|
||||
VALUES
|
||||
(1, 'Fixtures', 1, NULL, NULL, 10, 0, '0.279', NULL, 1800, 0, 0, 0, 0, 0, 30, '2025-08-27 07:39:55', '2026-01-27 09:34:20'),
|
||||
(2, 'Odds', 1, 1, NULL, 10, 0, '2.912', NULL, 30, 0, 0, 1, 0, 0, 10, '2025-12-01 05:41:02', '2026-01-27 09:37:32'),
|
||||
(1, 'Fixtures', 1, NULL, NULL, 10, 0, '0.264', NULL, 1800, 0, 0, 0, 0, 0, 30, '2025-08-27 07:39:55', '2026-01-27 13:37:24'),
|
||||
(2, 'Odds', 1, 1, NULL, 10, 0, '0.167', NULL, 30, 0, 0, 1, 0, 0, 10, '2025-12-01 05:41:02', '2026-01-27 13:38:33'),
|
||||
(3, 'Fixtures', 2, 0, NULL, 15, 0, '0.266', NULL, 1800, 0, 0, 0, 0, 0, 0, '2025-12-19 11:42:35', '2026-01-16 09:34:05'),
|
||||
(4, 'Willhill', 2, 0, NULL, 15, 0, '0.842', NULL, 1800, 0, 0, 0, 0, 0, 0, '2025-12-19 11:48:05', '2026-01-16 09:34:57'),
|
||||
(5, 'Bwin', 2, 0, NULL, 15, 0, '0.278', NULL, 1800, 0, 0, 0, 0, 0, 0, '2025-12-22 06:41:18', '2026-01-16 09:35:14'),
|
||||
(6, 'Bet365', 2, 0, NULL, 10, 0, '2.339', NULL, 30, 0, 0, 1, 0, 0, 0, '2025-12-18 17:44:33', '2026-01-16 09:37:35'),
|
||||
(4, 'Willhill', 2, 0, NULL, 15, 0, '0.062', NULL, 1800, 0, 0, 0, 0, 0, 0, '2025-12-19 11:48:05', '2026-01-27 13:44:40'),
|
||||
(5, 'Bwin', 2, 0, NULL, 15, 0, '0.389', NULL, 1800, 0, 0, 0, 0, 0, 0, '2025-12-22 06:41:18', '2026-01-27 13:45:17'),
|
||||
(6, 'Bet365', 2, 0, NULL, 10, 0, '0.264', NULL, 30, 0, 0, 1, 0, 0, 0, '2025-12-18 17:44:33', '2026-01-27 13:52:44'),
|
||||
(7, 'Odds', 2, 0, NULL, 10, 0, '0', NULL, 30, 0, 0, 1, 0, 0, 0, '2025-12-18 17:44:33', '2026-01-14 15:56:02'),
|
||||
(8, 'Fixtures', 4, 1, NULL, 10, 0, '1.097', NULL, 30, 0, 0, 0, 0, 0, 0, '2025-12-18 17:44:33', '2026-01-16 10:36:29'),
|
||||
(9, 'Odds', 4, 0, NULL, 15, 0, '0.032', NULL, 1800, 0, 0, 1, 0, 0, 0, '2026-01-03 12:27:44', '2026-01-16 10:57:56'),
|
||||
(8, 'Fixtures', 4, 1, NULL, 10, 0, '0.987', NULL, 30, 0, 0, 0, 0, 0, 0, '2025-12-18 17:44:33', '2026-01-27 13:55:15'),
|
||||
(9, 'Odds', 4, 0, NULL, 15, 0, '0.031', NULL, 1800, 0, 0, 1, 0, 0, 0, '2026-01-03 12:27:44', '2026-01-27 13:56:28'),
|
||||
(10, 'Fixtures', 3, 0, NULL, 10, 0, '1.368', NULL, 30, 0, 0, 0, 0, 0, 0, '2025-12-18 17:44:33', '2026-01-14 15:55:25'),
|
||||
(11, 'Odds', 3, 0, NULL, 15, 0, NULL, NULL, 1800, 0, 0, 1, 0, 0, 0, '2026-01-03 12:27:44', '2026-01-14 15:55:24'),
|
||||
(12, 'Odds', 5, 1, NULL, 10, 0, '0.284', NULL, 30, 0, 0, 1, 0, 0, 0, '2025-12-18 17:44:33', '2026-01-16 11:02:04'),
|
||||
@@ -37,7 +37,7 @@ class SupervisorSeeder extends Seeder
|
||||
(21, 'Odds', 1, 2, NULL, 15, 0, NULL, NULL, 30, 0, 0, 1, 0, 0, 10, '2026-01-08 17:57:14', '2026-01-14 15:52:43'),
|
||||
(22, 'Odds', 1, 5, NULL, 15, 0, NULL, NULL, 30, 0, 0, 1, 0, 0, 10, '2026-01-08 17:57:24', '2026-01-14 15:52:44'),
|
||||
(23, 'DB Mapper', 7, NULL, NULL, 15, 0, '0.006', NULL, 1800, 0, 0, 0, 0, 0, 0, '2026-01-13 05:55:30', '2026-01-19 04:17:21'),
|
||||
(24, '', 8, 2, 0, 30, 0, '0.067', NULL, 30, 1768405759, 0, 1, 0, 10, 10, '2026-01-14 15:42:40', '2026-01-27 10:28:17'),
|
||||
(24, '', 8, 1, 0, 30, 0, '0.067', NULL, 30, 1768405759, 0, 1, 0, 10, 10, '2026-01-14 15:42:40', '2026-01-27 13:57:23'),
|
||||
(25, '', 8, 1, 4, 30, 0, NULL, NULL, 30, 0, 0, 1, 0, 10, 10, '2026-01-14 16:56:25', '2026-01-14 17:20:08'),
|
||||
(26, '', 8, 1, 65536, 30, 0, NULL, NULL, 30, 0, 0, 1, 0, 10, 10, '2026-01-14 16:56:28', '2026-01-14 17:20:08'),
|
||||
(27, '', 8, 1, 65540, 30, 0, NULL, NULL, 30, 0, 0, 1, 0, 10, 10, '2026-01-14 16:56:31', '2026-01-14 17:20:08'),
|
||||
@@ -66,11 +66,10 @@ class SupervisorSeeder extends Seeder
|
||||
(50, '', 8, 5, 131073, 30, 0, NULL, NULL, 30, 0, 0, 0, 0, 10, 10, '2026-01-14 17:41:16', '2026-01-14 17:41:25'),
|
||||
(51, '', 9, 1, NULL, 30, 0, NULL, NULL, 30, 0, 0, 0, 0, 10, 10, '2026-01-16 12:05:14', '2026-01-16 12:05:14'),
|
||||
(52, '', 10, 0, NULL, 30, 0, NULL, NULL, 30, 0, 0, 0, 0, 10, 10, '2026-01-16 12:05:14', '2026-01-16 12:05:14'),
|
||||
(53, 'Generate Default Setting', 7, 0, NULL, 30, 0, '0.017', NULL, 30, 0, 0, 0, 0, 10, 10, '2026-01-16 12:05:14', '2026-01-27 11:23:00'),
|
||||
(54, 'Generate Alarms', 7, 1, NULL, 30, 0, NULL, NULL, 30, 0, 0, 0, 0, 10, 10, '2026-01-16 12:05:14', '2026-01-27 11:25:41'),
|
||||
(53, 'Generate Setting', 7, 0, NULL, 30, 0, '0.02', NULL, 30, 0, 0, 0, 0, 10, 10, '2026-01-16 12:05:14', '2026-01-27 13:39:46'),
|
||||
(54, 'Generate Alarms', 7, 1, NULL, 30, 0, '0', NULL, 30, 0, 0, 0, 0, 10, 10, '2026-01-16 12:05:14', '2026-01-27 13:42:39'),
|
||||
(55, 'Txodds Offerstatus', 7, NULL, NULL, 30, 0, NULL, NULL, 30, 0, 0, 0, 0, 10, 10, '2026-01-27 11:25:56', '2026-01-27 11:26:05');
|
||||
";
|
||||
|
||||
DB::unprepared($sql);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user