2020-03-03 10:48:38 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Seed the application's database.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
2020-03-09 14:03:08 +01:00
|
|
|
$this->call(UserSeeder::class);
|
2020-03-23 13:02:55 +01:00
|
|
|
// Uncomment if you want to add 20 random users.
|
|
|
|
// Alternatively run `php artisan db:seed --class=RandomUserSeeder`
|
|
|
|
//$this->call(RandomUserSeeder::class);
|
2020-03-09 14:03:08 +01:00
|
|
|
$this->call(BlogPostSeeder::class);
|
2020-03-03 10:48:38 +01:00
|
|
|
}
|
|
|
|
}
|