Skip to content

Instantly share code, notes, and snippets.

@harryWonder
Created October 22, 2020 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harryWonder/c52775e44ce177ffceefd08942b27fff to your computer and use it in GitHub Desktop.
Save harryWonder/c52775e44ce177ffceefd08942b27fff to your computer and use it in GitHub Desktop.
This file loads all of our seeder files and runs them.
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call(UsersTableSeeder::class);
$this->call(ForumsTableSeeder::class);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment