Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amardeep18/04b3bc4ffa70f8d6e5b07b7f2a33e528 to your computer and use it in GitHub Desktop.
Save amardeep18/04b3bc4ffa70f8d6e5b07b7f2a33e528 to your computer and use it in GitHub Desktop.
<?
DB::table('users')->insert([
'role_id' => '1',
'name' => 'Admin',
'email' => 'admin@gmail.com',
'password' => bcrypt('pass@admin'),
]);
DB::table('users')->insert([
'role_id' => '2',
'name' => 'User',
'email' => 'user@gmail.com',
'password' => bcrypt('pass@user'),
]);
DB::table('users')->insert([
'role_id' => '3',
'name' => 'Manager',
'email' => 'manager@gmail.com',
'password' => bcrypt('pass@manager'),
]);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment