koel/database/seeders/DatabaseSeeder.php

21 lines
388 B
PHP
Raw Normal View History

2015-12-13 04:42:28 +00:00
<?php
namespace Database\Seeders;
2015-12-13 04:42:28 +00:00
use Illuminate\Database\Eloquent\Model;
2015-12-14 13:22:39 +00:00
use Illuminate\Database\Seeder;
2015-12-13 04:42:28 +00:00
class DatabaseSeeder extends Seeder
{
2020-12-22 20:11:22 +00:00
public function run(): void
2015-12-13 04:42:28 +00:00
{
Model::unguard();
$this->call(ArtistTableSeeder::class);
$this->call(AlbumTableSeeder::class);
$this->call(SettingTableSeeder::class);
Model::reguard();
}
}