Files
nuhodds_fi4/database/seeders/StatistikoConfigSeeder.php
T
2026-08-14 19:02:58 +02:00

75 lines
4.7 KiB
PHP

<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class StatistikoConfigSeeder extends Seeder
{
public function run(): void
{
$sql = "INSERT INTO `statistiko_configs` (`id`, `group`, `team`, `varname`, `value`, `created_at`, `updated_at`)
VALUES
(1, 'gls', 'home', 'gls_home_made_total', '1', NULL, NULL),
(2, 'gls', 'home', 'gls_home_made_home', '1', NULL, NULL),
(3, 'gls', 'home', 'gls_home_got_total', '1', NULL, NULL),
(4, 'gls', 'home', 'gls_home_got_home', '1', NULL, NULL),
(5, 'gls', 'away', 'gls_away_made_total', '1', NULL, NULL),
(6, 'gls', 'away', 'gls_away_made_home', '1', NULL, NULL),
(7, 'gls', 'away', 'gls_away_got_total', '1', NULL, NULL),
(8, 'gls', 'away', 'gls_away_got_home', '1', NULL, NULL),
(9, 'crn', 'home', 'crn_home_made_total', '1', NULL, NULL),
(10, 'crn', 'home', 'crn_home_made_home', '1', NULL, NULL),
(11, 'crn', 'home', 'crn_home_got_total', '1', NULL, NULL),
(12, 'crn', 'home', 'crn_home_got_home', '1', NULL, NULL),
(13, 'crn', 'away', 'crn_away_made_total', '1', NULL, NULL),
(14, 'crn', 'away', 'crn_away_made_home', '1', NULL, NULL),
(15, 'crn', 'away', 'crn_away_got_total', '1', NULL, NULL),
(16, 'crn', 'away', 'crn_away_got_home', '1', NULL, NULL),
(17, 'fls', 'home', 'fls_home_made_total', '1', NULL, NULL),
(18, 'fls', 'home', 'fls_home_made_home', '1', NULL, NULL),
(19, 'fls', 'home', 'fls_home_got_total', '1', NULL, NULL),
(20, 'fls', 'home', 'fls_home_got_home', '1', NULL, NULL),
(21, 'fls', 'away', 'fls_away_made_total', '1', NULL, NULL),
(22, 'fls', 'away', 'fls_away_made_home', '1', NULL, NULL),
(23, 'fls', 'away', 'fls_away_got_total', '1', NULL, NULL),
(24, 'fls', 'away', 'fls_away_got_home', '1', NULL, NULL),
(25, 'ofs', 'home', 'ofs_home_made_total', '1', NULL, NULL),
(26, 'ofs', 'home', 'ofs_home_made_home', '1', NULL, NULL),
(27, 'ofs', 'home', 'ofs_home_got_total', '1', NULL, NULL),
(28, 'ofs', 'home', 'ofs_home_got_home', '1', NULL, NULL),
(29, 'ofs', 'away', 'ofs_away_made_total', '1', NULL, NULL),
(30, 'ofs', 'away', 'ofs_away_made_home', '1', NULL, NULL),
(31, 'ofs', 'away', 'ofs_away_got_total', '1', NULL, NULL),
(32, 'ofs', 'away', 'ofs_away_got_home', '1', NULL, NULL),
(33, 'crd', 'home', 'crd_home_made_total', '1', NULL, NULL),
(34, 'crd', 'home', 'crd_home_made_home', '1', NULL, NULL),
(35, 'crd', 'home', 'crd_home_got_total', '1', NULL, NULL),
(36, 'crd', 'home', 'crd_home_got_home', '1', NULL, NULL),
(37, 'crd', 'away', 'crd_away_made_total', '1', NULL, NULL),
(38, 'crd', 'away', 'crd_away_made_home', '1', NULL, NULL),
(39, 'crd', 'away', 'crd_away_got_total', '1', NULL, NULL),
(40, 'crd', 'away', 'crd_away_got_home', '1', NULL, NULL),
(41, 'snt', 'home', 'snt_home_made_total', '1', NULL, NULL),
(42, 'snt', 'home', 'snt_home_made_home', '1', NULL, NULL),
(43, 'snt', 'home', 'snt_home_got_total', '1', NULL, NULL),
(44, 'snt', 'home', 'snt_home_got_home', '1', NULL, NULL),
(45, 'snt', 'away', 'snt_away_made_total', '1', NULL, NULL),
(46, 'snt', 'away', 'snt_away_made_home', '1', NULL, NULL),
(47, 'snt', 'away', 'snt_away_got_total', '1', NULL, NULL),
(48, 'snt', 'away', 'snt_away_got_home', '1', NULL, NULL),
(49, 'tsh', 'home', 'tsh_home_made_total', '1', NULL, NULL),
(50, 'tsh', 'home', 'tsh_home_made_home', '1', NULL, NULL),
(51, 'tsh', 'home', 'tsh_home_got_total', '1', NULL, NULL),
(52, 'tsh', 'home', 'tsh_home_got_home', '1', NULL, NULL),
(53, 'tsh', 'away', 'tsh_away_made_total', '1', NULL, NULL),
(54, 'tsh', 'away', 'tsh_away_made_home', '1', NULL, NULL),
(55, 'tsh', 'away', 'tsh_away_got_total', '1', NULL, NULL),
(56, 'tsh', 'away', 'tsh_away_got_home', '1', NULL, NULL);
";
DB::unprepared($sql);
}
}