36 lines
2.5 KiB
PHP
36 lines
2.5 KiB
PHP
<?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`, `title`, `fulltitle`, `has_active_spread`, `oddnames`, `fieldnames`, `soccer`, `other`, `icehockey`, `basketball`, `tennis`, `created_at`, `updated_at`)
|
|
VALUES
|
|
(1, 'odds_2ways', 'ML', 'Money Line', 0, 'h2w,a2w', 'alarm_2w_h2w,alarm_2w_a2w', 0, 1, 1, 1, 1, NULL, NULL),
|
|
(2, 'odds_2ways_s1', 'ML S1', 'Money Line Set1', 0, 'h2w,a2w', 'alarm_2ws1_h2w,alarm_2ws1_a2w', 0, 0, 0, 0, 1, NULL, NULL),
|
|
(3, 'odds_3ways', '1X2', '1X2', 0, 'h3w,d3w,a3w', 'alarm_3w_h3w,alarm_3w_d3w,alarm_3w_a3w', 1, 1, 1, 0, 0, NULL, NULL),
|
|
(4, 'odds_3ways_ht', '1X2 HT', '1X2 Halftime', 0, 'h3w,d3w,a3w', 'alarm_3wht_h3w,alarm_3wht_d3w,alarm_3wht_a3w', 1, 0, 0, 0, 0, NULL, NULL),
|
|
(5, 'odds_dc', 'DC', 'Double Chance', 0, 'dc1x,dc12,dcx2', 'alarm_dc_dc1x,alarm_dc_dc12,alarm_dc_dcx2', 1, 0, 0, 0, 0, NULL, NULL),
|
|
(6, 'odds_dnb', 'DNB', 'Draw no bet', 0, 'dnb1,dnb2', 'alarm_dbn_dnb1,alarm_dbn_dnb2', 1, 0, 0, 0, 0, NULL, NULL),
|
|
(7, 'odds_ggng', 'GGNG', 'Goal No Goal', 0, 'gg,ng', 'alarm_ggng_gg,alarm_ggng_ng', 1, 0, 0, 0, 0, NULL, NULL),
|
|
(8, 'odds_points', 'PO', 'Points', 1, 'home,away', 'alarm_po_home,alarm_po_away', 0, 1, 1, 1, 1, NULL, NULL),
|
|
(9, 'odds_points_ht', 'PO HT', 'Points Halftime', 1, 'home,away', 'alarm_poht_home,alarm_poht_away', 0, 1, 0, 1, 0, NULL, NULL),
|
|
(10, 'odds_points_q1', 'PO Q1', 'Points First Quarter', 1, 'home,away', 'alarm_poq1_home,alarm_poq1_away', 0, 1, 1, 1, 0, NULL, NULL),
|
|
(11, 'odds_totals', 'TO', 'Totals', 1, 'over,under', 'alarm_to_over,alarm_to_under', 1, 1, 1, 1, 1, NULL, NULL),
|
|
(12, 'odds_totals_ht', 'TO HT', 'Totals Halftime', 1, 'over,under', 'alarm_toht_over,alarm_toht_under', 1, 1, 0, 1, 0, NULL, NULL),
|
|
(13, 'odds_totals_q1', 'TO Q1', 'Totals First Quarter', 1, 'over,under', 'alarm_toq1_over,alarm_toq1_under', 0, 1, 1, 1, 0, NULL, NULL),
|
|
(14, 'odds_tq', 'TQ', 'To Qualify', 1, 'htq,atq', 'alarm_tq_htq,alarm_tq_atq', 1, 0, 0, 0, 0, NULL, NULL);
|
|
";
|
|
DB::unprepared($sql);
|
|
|
|
}
|
|
}
|