database/seeds/UsersTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $param = [
            'name' => '管理者用アカウント',
            'email' => 'EcoSpotSearch@kanrisya.com',
            'password' => bcrypt('ecospot1234'),
            'admin_flg' => '1',
            'blacklist_flg' => '0',
        ];
        DB::table('users')->insert($param);
    }
public function run ( ) { $ param = [ 'name' => '管理者用アカウント', 'email' => 'EcoSpotSearch@kanrisya.com' , 'password' => bcrypt ( 'ecospot1234' ) , 'admin_flg' => '1' , 'blacklist_flg' => '0' , ] ; DB :: table ( 'users' ) -> insert ( $ param ) ; }
Run the database seeds.
Run the database seeds .