53 lines
3.2 KiB
PHP
53 lines
3.2 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class OddsNameSeeder extends Seeder
|
|
{
|
|
public function run(): void
|
|
{
|
|
/**
|
|
* Provoider
|
|
*/
|
|
$sql = "INSERT INTO `odds_names` (`id`, `name`, `alarm`, `table`, `bettype`, `created_at`, `updated_at`)
|
|
VALUES
|
|
(1, 'h2w', 'alarm_2w_h2w', 'odds_2ways', 'Money Line', NULL, NULL),
|
|
(2, 'a2w', 'alarm_2w_a2w', 'odds_2ways', 'Money Line', NULL, NULL),
|
|
(3, 'h2w', 'alarm_2ws1_h2w', 'odds_2ways_s1', 'Money Line Set1', NULL, NULL),
|
|
(4, 'a2w', 'alarm_2ws1_a2w', 'odds_2ways_s1', 'Money Line Set1', NULL, NULL),
|
|
(5, 'h3w', 'alarm_3w_h3w', 'odds_3ways', '1X2', NULL, NULL),
|
|
(6, 'd3w', 'alarm_3w_d3w', 'odds_3ways', '1X2', NULL, NULL),
|
|
(7, 'a3w', 'alarm_3w_a3w', 'odds_3ways', '1X2', NULL, NULL),
|
|
(8, 'h3w', 'alarm_3wht_h3w', 'odds_3ways_ht', '1X2 Halftime', NULL, NULL),
|
|
(9, 'd3w', 'alarm_3wht_d3w', 'odds_3ways_ht', '1X2 Halftime', NULL, NULL),
|
|
(10, 'a3w', 'alarm_3wht_a3w', 'odds_3ways_ht', '1X2 Halftime', NULL, NULL),
|
|
(11, 'dc1x', 'alarm_dc_dc1x', 'odds_dc', 'Double Chance', NULL, NULL),
|
|
(12, 'dc12', 'alarm_dc_dc12', 'odds_dc', 'Double Chance', NULL, NULL),
|
|
(13, 'dcx2', 'alarm_dc_dcx2', 'odds_dc', 'Double Chance', NULL, NULL),
|
|
(14, 'dnb1', 'alarm_dbn_dnb1', 'odds_dnb', 'Draw no bet', NULL, NULL),
|
|
(15, 'dnb2', 'alarm_dbn_dnb2', 'odds_dnb', 'Draw no bet', NULL, NULL),
|
|
(16, 'gg', 'alarm_ggng_gg', 'odds_ggng', 'Goal No Goal', NULL, NULL),
|
|
(17, 'ng', 'alarm_ggng_ng', 'odds_ggng', 'Goal No Goal', NULL, NULL),
|
|
(18, 'home', 'alarm_po_home', 'odds_points', 'Points', NULL, NULL),
|
|
(19, 'away', 'alarm_po_away', 'odds_points', 'Points', NULL, NULL),
|
|
(20, 'home', 'alarm_poht_home', 'odds_points_ht', 'Points Halftime', NULL, NULL),
|
|
(21, 'away', 'alarm_poht_away', 'odds_points_ht', 'Points Halftime', NULL, NULL),
|
|
(22, 'home', 'alarm_poq1_home', 'odds_points_q1', 'Points First Quarter', NULL, NULL),
|
|
(23, 'away', 'alarm_poq1_away', 'odds_points_q1', 'Points First Quarter', NULL, NULL),
|
|
(24, 'over', 'alarm_to_over', 'odds_totals', 'Totals', NULL, NULL),
|
|
(25, 'under', 'alarm_to_under', 'odds_totals', 'Totals', NULL, NULL),
|
|
(26, 'over', 'alarm_toht_over', 'odds_totals_ht', 'Totals Halftime', NULL, NULL),
|
|
(27, 'under', 'alarm_toht_under', 'odds_totals_ht', 'Totals Halftime', NULL, NULL),
|
|
(28, 'over', 'alarm_toq1_over', 'odds_totals_q1', 'Totals First Quarter', NULL, NULL),
|
|
(29, 'under', 'alarm_toq1_under', 'odds_totals_q1', 'Totals First Quarter', NULL, NULL),
|
|
(30, 'htq', 'alarm_tq_htq', 'odds_tq', 'To Qualify', NULL, NULL),
|
|
(31, 'atq', 'alarm_tq_atq', 'odds_tq', 'To Qualify', NULL, NULL);
|
|
";
|
|
DB::unprepared($sql);
|
|
|
|
}
|
|
}
|