wip
This commit is contained in:
1 parent
9ca5657827
commit
6f3d608704
47 files changed
+1005
-145
No files matched your search
@@ -15,32 +15,58 @@ return new class extends Migration
|
||||
$table->id();
|
||||
$table->foreignId('event_id')->index()->constrained()->cascadeOnDelete()->references('id')->on('events');
|
||||
$table->integer('bookmaker_id')->index()->references('id')->on('bookmakers');
|
||||
$table->integer('sport_id')->index()->references('id')->on('sports');
|
||||
$table->timestamp('starttime')->nullable();
|
||||
$table->string('bmoid')->nullable();
|
||||
$table->boolean('is_swopped')->default(0);
|
||||
$table->boolean('in_feed')->default(0);
|
||||
$table->boolean('send_status')->default(0);
|
||||
$table->boolean('has_to_qualify')->index()->default(0);
|
||||
/**
|
||||
* favorit client is lower then favorit from method
|
||||
* 0.01
|
||||
* 0.3
|
||||
* 0.5
|
||||
*/
|
||||
$table->integer('alarm_2w')->nullable()->default(0);
|
||||
$table->integer('alarm_2ws1')->nullable()->default(0);
|
||||
$table->integer('alarm_3w')->nullable()->default(0);
|
||||
$table->integer('alarm_3wht')->nullable()->default(0);
|
||||
$table->integer('alarm_dc')->nullable()->default(0);
|
||||
$table->integer('alarm_dbn')->nullable()->default(0);
|
||||
$table->integer('alarm_ggng')->nullable()->default(0);
|
||||
$table->integer('alarm_po')->nullable()->default(0);
|
||||
$table->integer('alarm_poht')->nullable()->default(0);
|
||||
$table->integer('alarm_poq1')->nullable()->default(0);
|
||||
$table->integer('alarm_to')->nullable()->default(0);
|
||||
$table->integer('alarm_toht')->nullable()->default(0);
|
||||
$table->integer('alarm_toq1')->nullable()->default(0);
|
||||
$table->integer('alarm_tq')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_2w_h2w')->nullable()->default(0);
|
||||
$table->integer('alarm_2w_a2w')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_2ws1_h2w')->nullable()->default(0);
|
||||
$table->integer('alarm_2ws1_a2w')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_3w_h3w')->nullable()->default(0);
|
||||
$table->integer('alarm_3w_d3w')->nullable()->default(0);
|
||||
$table->integer('alarm_3w_a3w')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_3wht_h3w')->nullable()->default(0);
|
||||
$table->integer('alarm_3wht_d3w')->nullable()->default(0);
|
||||
$table->integer('alarm_3wht_a3w')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_dc_dc1x')->nullable()->default(0);
|
||||
$table->integer('alarm_dc_dc12')->nullable()->default(0);
|
||||
$table->integer('alarm_dc_dcx2')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_dbn_dnb1')->nullable()->default(0);
|
||||
$table->integer('alarm_dbn_dnb2')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_ggng_gg')->nullable()->default(0);
|
||||
$table->integer('alarm_ggng_ng')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_po_home')->nullable()->default(0);
|
||||
$table->integer('alarm_po_away')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_poht_home')->nullable()->default(0);
|
||||
$table->integer('alarm_poht_away')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_poq1_home')->nullable()->default(0);
|
||||
$table->integer('alarm_poq1_away')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_to_over')->nullable()->default(0);
|
||||
$table->integer('alarm_to_under')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_toht_over')->nullable()->default(0);
|
||||
$table->integer('alarm_toht_under')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_toq1_over')->nullable()->default(0);
|
||||
$table->integer('alarm_toq1_under')->nullable()->default(0);
|
||||
|
||||
$table->integer('alarm_tq_htq')->nullable()->default(0);
|
||||
$table->integer('alarm_tq_atq')->nullable()->default(0);
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
@@ -17,8 +17,9 @@ return new class extends Migration
|
||||
$table->integer('sport_id')->index()->references('id')->on('sports');
|
||||
$table->boolean('disabled')->default(0);
|
||||
$table->integer('multiline_setting_id')->default(1)->references('id')->on('multiline_settings');
|
||||
$table->integer('level_id')->default(0);
|
||||
$table->decimal('alarm_threshold', 3, 2)->default(0);
|
||||
$table->integer('bookmaker_id')->index()->references('id')->on('bookmakers');
|
||||
$table->integer('position')->default(0);
|
||||
$table->integer('sort')->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ return new class extends Migration
|
||||
$table->string('name');
|
||||
$table->string('short');
|
||||
$table->string('table');
|
||||
$table->string('oddnames');
|
||||
$table->string('matchpart');
|
||||
$table->integer('rows')->default(4);
|
||||
$table->integer('has_3_columns')->default(0);
|
||||
|
||||
@@ -17,9 +17,9 @@ return new class extends Migration
|
||||
$table->integer('sport_id')->index()->references('id')->on('sports');
|
||||
$table->boolean('disabled')->default(0);
|
||||
$table->integer('multiline_setting_id')->default(1)->references('id')->on('multiline_settings');
|
||||
$table->integer('bookmaker_id')->index()->references('id')->on('bookmakers');
|
||||
$table->integer('position')->default(0);
|
||||
$table->integer('sort')->default(0);
|
||||
$table->string('name')->nullable();
|
||||
$table->integer('level_id')->default(0);
|
||||
$table->decimal('alarm_threshold', 3, 2)->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -12,36 +12,33 @@ class MultilineSettingSeeder extends Seeder
|
||||
/**
|
||||
* Clients
|
||||
*/
|
||||
$sql = "INSERT INTO `multiline_settings` (`sport_id`, `name`, `short`, `table`, `rows`, `has_3_columns`, `created_at`, `updated_at`)
|
||||
$sql = "INSERT INTO `multiline_settings` (`id`, `sport_id`, `name`, `short`, `table`, `oddnames`, `matchpart`, `rows`, `has_3_columns`, `created_at`, `updated_at`)
|
||||
VALUES
|
||||
(1, '1X2', '1X2', 'odds_3ways', 4, 1, '2025-12-14 09:25:48', '2025-12-14 09:25:48'),
|
||||
(1, 'TOTALS', 'OU', 'odds_totals', 4, 1, '2025-12-14 09:32:38', '2025-12-14 09:32:38'),
|
||||
(1, '1X2 HALF TIME', '1X2 HT', 'odds_3ways_ht', 4, 1, '2025-12-14 09:25:48', '2025-12-14 09:25:48'),
|
||||
(1, 'TOTALS HALF TIME', 'OU HT', 'odds_totals_ht', 4, 1, '2025-12-14 09:32:38', '2025-12-14 09:32:38'),
|
||||
(1, 'GOAL NO GOAL', 'GGNG', 'odds_ggng', 4, 0, '2025-12-14 09:31:56', '2025-12-14 09:31:56'),
|
||||
(1, 'DOUBLE CHANCE', 'DC', 'odds_dc', 4, 1, '2025-12-14 09:31:22', '2025-12-14 09:32:55'),
|
||||
(1, 'TO QUALIFY', 'TQ', 'odds_tq', 4, 0, '2025-12-14 09:32:19', '2025-12-14 09:32:19'),
|
||||
(1, 'DRAW NO BET', 'DNB', 'odds_dnb', 4, 0, '2025-12-14 09:31:42', '2025-12-14 09:31:42'),
|
||||
|
||||
(2, '1X2', '1X2', 'odds_3ways', 4, 1, '2025-12-14 09:41:34', '2025-12-14 09:41:34'),
|
||||
(2, 'MONEY LINE', 'ML', 'odds_2ways', 4, 0, '2025-12-14 09:41:21', '2025-12-14 09:41:21'),
|
||||
(2, 'POINTS', 'HC', 'odds_points', 4, 1, '2025-12-14 09:41:56', '2025-12-14 09:41:56'),
|
||||
(2, 'TOTALS', 'OU', 'odds_totals', 4, 1, '2025-12-14 09:42:13', '2025-12-14 09:42:13'),
|
||||
(2, 'POINTS FIRST QUARTER', 'HC Q1', 'odds_points_q1', 4, 1, '2025-12-14 09:41:56', '2025-12-14 09:41:56'),
|
||||
(2, 'TOTALS FIRST QUARTER', 'OU Q1', 'odds_totals_q1', 4, 1, '2025-12-14 09:42:13', '2025-12-14 09:42:13'),
|
||||
|
||||
(3, 'MONEY LINE', 'ML', 'odds_2ways', 4, 0, '2025-12-14 09:37:32', '2025-12-14 09:37:32'),
|
||||
(3, 'POINTS', 'HC', 'odds_points', 4, 1, '2025-12-14 09:38:05', '2025-12-14 09:38:05'),
|
||||
(3, 'TOTALS', 'OU', 'odds_totals', 4, 1, '2025-12-14 09:38:44', '2025-12-14 09:38:44'),
|
||||
(3, 'POINTS FIRST QUARTER', 'HC Q1', 'odds_points_q1', 4, 1, '2025-12-14 09:38:26', '2025-12-14 09:39:54'),
|
||||
(3, 'TOTALS FIRST QUARTER', 'OU Q1', 'odds_totals_q1', 4, 1, '2025-12-14 09:39:12', '2025-12-14 09:39:59'),
|
||||
(3, 'POINTS HALF TIME', 'HC HT', 'odds_points_ht', 4, 1, '2025-12-14 09:38:26', '2025-12-14 09:39:54'),
|
||||
(3, 'TOTALS HALF TIME', 'OU HT', 'odds_totals_ht', 4, 1, '2025-12-14 09:39:12', '2025-12-14 09:39:59'),
|
||||
|
||||
(5, 'MONEY LINE', 'ML', 'odds_2ways', 4, 0, '2025-12-14 09:43:52', '2025-12-14 09:43:52'),
|
||||
(5, 'MONEY LINE SET 1', 'ML S1', 'odds_2ways_s1', 4, 0, '2025-12-14 09:44:13', '2025-12-14 09:44:13'),
|
||||
(5, 'TOTALS', 'OU', 'odds_totals', 4, 1, '2025-12-14 09:44:26', '2025-12-14 09:44:26'),
|
||||
(5, 'POINTS', 'HC', 'odds_points', 4, 1, '2025-12-14 09:44:26', '2025-12-14 09:44:26');
|
||||
(1, 1, '1X2', '1X2', 'odds_3ways', 'h3w,d3w,a3w', '', 4, 1, '2025-12-14 09:25:48', '2025-12-14 09:25:48'),
|
||||
(2, 1, 'TOTALS', 'OU', 'odds_totals', 'over,under', '', 4, 1, '2025-12-14 09:32:38', '2025-12-14 09:32:38'),
|
||||
(3, 1, '1X2 HALF TIME', '1X2 HT', 'odds_3ways_ht', 'h3w,d3w,a3w', '', 4, 1, '2025-12-14 09:25:48', '2025-12-14 09:25:48'),
|
||||
(4, 1, 'TOTALS HALF TIME', 'OU HT', 'odds_totals_ht', 'over,under', '', 4, 1, '2025-12-14 09:32:38', '2025-12-14 09:32:38'),
|
||||
(5, 1, 'GOAL NO GOAL', 'GGNG', 'odds_ggng', 'gg,ng', '', 4, 0, '2025-12-14 09:31:56', '2025-12-14 09:31:56'),
|
||||
(6, 1, 'DOUBLE CHANCE', 'DC', 'odds_dc', 'dc1x,dc12,dcx2', '', 4, 1, '2025-12-14 09:31:22', '2025-12-14 09:32:55'),
|
||||
(7, 1, 'TO QUALIFY', 'TQ', 'odds_tq', 'htq,atq', '', 4, 0, '2025-12-14 09:32:19', '2025-12-14 09:32:19'),
|
||||
(8, 1, 'DRAW NO BET', 'DNB', 'odds_dnb', 'dnb1,dnb2', '', 4, 0, '2025-12-14 09:31:42', '2025-12-14 09:31:42'),
|
||||
(9, 2, '1X2', '1X2', 'odds_3ways', 'h3w,d3w,a3w', '', 4, 1, '2025-12-14 09:41:34', '2025-12-14 09:41:34'),
|
||||
(10, 2, 'MONEY LINE', 'ML', 'odds_2ways', 'h2w,a2w', '', 4, 0, '2025-12-14 09:41:21', '2025-12-14 09:41:21'),
|
||||
(11, 2, 'POINTS', 'HC', 'odds_points', 'home,away', '', 4, 1, '2025-12-14 09:41:56', '2025-12-14 09:41:56'),
|
||||
(12, 2, 'TOTALS', 'OU', 'odds_totals', 'over,under', '', 4, 1, '2025-12-14 09:42:13', '2025-12-14 09:42:13'),
|
||||
(13, 2, 'POINTS FIRST QUARTER', 'HC Q1', 'odds_points_q1', 'home,away', '', 4, 1, '2025-12-14 09:41:56', '2025-12-14 09:41:56'),
|
||||
(14, 2, 'TOTALS FIRST QUARTER', 'OU Q1', 'odds_totals_q1', 'over,under', '', 4, 1, '2025-12-14 09:42:13', '2025-12-14 09:42:13'),
|
||||
(15, 3, 'MONEY LINE', 'ML', 'odds_2ways', 'h2w,a2w', '', 4, 0, '2025-12-14 09:37:32', '2025-12-14 09:37:32'),
|
||||
(16, 3, 'POINTS', 'HC', 'odds_points', 'home,away', '', 4, 1, '2025-12-14 09:38:05', '2025-12-14 09:38:05'),
|
||||
(17, 3, 'TOTALS', 'OU', 'odds_totals', 'over,under', '', 4, 1, '2025-12-14 09:38:44', '2025-12-14 09:38:44'),
|
||||
(18, 3, 'POINTS FIRST QUARTER', 'HC Q1', 'odds_points_q1', 'home,away', '', 4, 1, '2025-12-14 09:38:26', '2025-12-14 09:39:54'),
|
||||
(19, 3, 'TOTALS FIRST QUARTER', 'OU Q1', 'odds_totals_q1', 'over,under', '', 4, 1, '2025-12-14 09:39:12', '2025-12-14 09:39:59'),
|
||||
(20, 3, 'POINTS HALF TIME', 'HC HT', 'odds_points_ht', 'home,away', '', 4, 1, '2025-12-14 09:38:26', '2025-12-14 09:39:54'),
|
||||
(21, 3, 'TOTALS HALF TIME', 'OU HT', 'odds_totals_ht', 'over,under', '', 4, 1, '2025-12-14 09:39:12', '2025-12-14 09:39:59'),
|
||||
(22, 5, 'MONEY LINE', 'ML', 'odds_2ways', 'h2w,a2w', '', 4, 0, '2025-12-14 09:43:52', '2025-12-14 09:43:52'),
|
||||
(23, 5, 'MONEY LINE SET 1', 'ML S1', 'odds_2ways_s1', 'h2w,a2w', '', 4, 0, '2025-12-14 09:44:13', '2025-12-14 09:44:13'),
|
||||
(24, 5, 'TOTALS', 'OU', 'odds_totals', 'over,under', '', 4, 1, '2025-12-14 09:44:26', '2025-12-14 09:44:26'),
|
||||
(25, 5, 'POINTS', 'HC', 'odds_points', 'home,away', '', 4, 1, '2025-12-14 09:44:26', '2025-12-14 09:44:26');
|
||||
";
|
||||
DB::unprepared($sql);
|
||||
|
||||
|
||||
@@ -66,8 +66,9 @@ 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, 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, NULL, NULL, 30, 0, 0, 0, 0, 10, 10, '2026-01-16 12:05:14', '2026-01-16 12:05:14'),
|
||||
(54, 'Alarm Generator', 7, 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');";
|
||||
|
||||
DB::unprepared($sql);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user