I\'m just learning Laravel, and have a working migration file creating a users table. I am trying to populate a user record as part of the migration:
public
This should do what you want.
public function up() { DB::table('user')->insert(array('username'=>'dude', 'password'=>'z19pers!')); }