koel/database/seeders/DatabaseSeeder.php
2020-12-22 21:11:22 +01:00

20 lines
388 B
PHP

<?php
namespace Database\Seeders;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
public function run(): void
{
Model::unguard();
$this->call(ArtistTableSeeder::class);
$this->call(AlbumTableSeeder::class);
$this->call(SettingTableSeeder::class);
Model::reguard();
}
}