name = 'admin'; $user->password = Hash::make('123456'); $user->email = 'andrey.pokidov@gmail.com'; $user->email_verified_at = time(); $user->remember_token = ''; $user->created_at = time(); $user->updated_at = time(); $user->save(); } /** * Reverse the migrations. * * @return void */ public function down() { $user = User::getByUsername('admin'); $user->delete(); } }