database/seeders/UserSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        User::insert(
            [
                [
                    'username' => 'SuperAdmin',
                    'email' => 'superadmin@sscworks.com',
                    'password' => Hash::make('superadmin123'),
                    'role' => 'admin'
                ],[
                    'username' => 'AdminPPC',
                    'email' => 'adminppc@sscworks.com',
                    'password' => Hash::make('ppc123'),
                    'role' => 'admin'
                ],[
                    'username' => 'Manager',
                    'email' => 'manager@sscworks.com',
                    'password' => Hash::make('manager123'),
                    'role' => 'manager'
                ]
            ]
        );
    }
public function run ( ) { User :: insert ( [ [ 'username' => 'SuperAdmin' , 'email' => 'superadmin@sscworks.com' , 'password' => Hash :: make ( 'superadmin123' ) , 'role' => 'admin' ] , [ 'username' => 'AdminPPC' , 'email' => 'adminppc@sscworks.com' , 'password' => Hash :: make ( 'ppc123' ) , 'role' => 'admin' ] , [ 'username' => 'Manager' , 'email' => 'manager@sscworks.com' , 'password' => Hash :: make ( 'manager123' ) , 'role' => 'manager' ] ] ) ; }
Run the database seeds.
Run the database seeds .