mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
29 lines
717 B
PHP
29 lines
717 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\Cache;
|
|
use Illuminate\Support\Facades\Log;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Seed the application's database.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
$this->call(ChampionSeeder::class);
|
|
$this->call(ChampionSkinSeeder::class);
|
|
$this->call(SkinChromaSeeder::class);
|
|
$this->call(ChampionRolesSeeder::class);
|
|
$this->call(SummonerIconSeeder::class);
|
|
$this->call(SummonerEmoteSeeder::class);
|
|
|
|
Cache::flush();
|
|
|
|
Log::info('Seeding complete at '.date('Y-m-d H:i:s'));
|
|
}
|
|
}
|