database/seeds/DatabaseSeeder.php
/**
	 * Run the database seeds.
	 *
	 * @return void
	 */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run() {
		Model::unguard();
		$this->call(UserTableSeeder::class);
		$this->call(CategoriesTableSeeder::class);
		$this->call(NewsTableSeeder::class);
		$this->call(CommentsTableSeeder::class);
		Model::reguard();
	}
public function run ( ) { Model :: unguard ( ) ; $ this -> call ( UserTableSeeder :: class ) ; $ this -> call ( CategoriesTableSeeder :: class ) ; $ this -> call ( NewsTableSeeder :: class ) ; $ this -> call ( CommentsTableSeeder :: class ) ; Model :: reguard ( ) ; }
Run the database seeds.
Run the database seeds .