This commit is contained in:
salam committed 2026-01-27 15:08:59 +01:00
1 parent f5fc937311
commit d81af0b02b
30 files changed
+381 -267

No files matched your search

+36
View File
@@ -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);
}
}