koel/database/seeds/DatabaseSeeder.php

19 lines
353 B
PHP
Raw Normal View History

2015-12-13 04:42:28 +00:00
<?php
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
{
public function run()
{
Model::unguard();
$this->call(ArtistTableSeeder::class);
$this->call(AlbumTableSeeder::class);
$this->call(SettingTableSeeder::class);
Model::reguard();
}
}