Files
lotteryLaravel/database/seeders/DatabaseSeeder.php

36 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
use WithoutModelEvents;
public function run(): void
{
// 全环境可用的基础枚举数据
$this->call([
CurrencySeeder::class,
PlayTypeSeeder::class,
OperationalConfigV1Seeder::class,
OddsPrizeScopesBackfillSeeder::class,
LotterySettingsSeeder::class,
]);
// 演示管理员 + 演示玩家 + 演示期号:**勿在生产库执行**(或确保 APP_ENV≠production
if (! app()->environment('production')) {
$this->call([
AdminRbacAndUserSeeder::class,
DevPlayerAndWalletSeeder::class,
DrawDemoSeeder::class,
// 仪表盘:对齐「大厅 resolve 当期」+ 多场景演示期(-996 settled / -995 pending
DashboardHallFixtureSeeder::class,
DashboardSecondaryScenariosSeeder::class,
]);
}
}
}