mirror of
https://github.com/koel/koel
synced 2024-12-25 20:13:06 +00:00
20 lines
388 B
PHP
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();
|
|
}
|
|
}
|