mirror of
https://github.com/koel/koel
synced 2024-11-14 00:17:13 +00:00
24 lines
507 B
PHP
24 lines
507 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run()
|
|
{
|
|
Model::unguard();
|
|
|
|
// This must be run first, to check for dependencies
|
|
$this->call(UserTableSeeder::class);
|
|
|
|
$this->call(ArtistTableSeeder::class);
|
|
$this->call(AlbumTableSeeder::class);
|
|
$this->call(SettingTableSeeder::class);
|
|
|
|
Model::reguard();
|
|
}
|
|
}
|