mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +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();
|
|
}
|
|
}
|