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('BooksTableSeeder');
        $this->call('ArticlesTableSeeder');
        $this->call('CommentsTableSeeder');
        $this->call('Users2TableSeeder');
        $this->call('UsersTableSeeder');
        Model::reguard();
    }
public function run ( ) { Model :: unguard ( ) ; $ this -> call ( 'BooksTableSeeder' ) ; $ this -> call ( 'ArticlesTableSeeder' ) ; $ this -> call ( 'CommentsTableSeeder' ) ; $ this -> call ( 'Users2TableSeeder' ) ; $ this -> call ( 'UsersTableSeeder' ) ; Model :: reguard ( ) ; }
Run the database seeds.
Run the database seeds .
//Eloquent::unguard();