for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Seeds;
use DB;
use Illuminate\Database\Seeder;
/**
* This is the comments table seeder class.
*
* @author Graham Campbell <[email protected]>
*/
class UsersTableSeeder extends Seeder
{
* Run the database seeding.
* @return void
public function run()
DB::table('users')->insert([
[
'id' => 1,
'name' => 'Admin',
'email' => '[email protected]',
'password' => bcrypt('password'),
],
'id' => 2,
'name' => 'User',
'id' => 3,
'name' => 'Alice',
'id' => 4,
'name' => 'Mark',
'id' => 5,
'name' => 'Lukas',
]
]);
}