database/seeders/UsersTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('users')->insert([
            'rankcode' => 'Cpl',
            'unitcode' => 'NETB',
            'pamu' => 'ASR',
            'firstname' => 'Ryan',
            'middlename' => 'Labarda',
            'lastname' => 'Malatbalat',
            'appendage' => '',
            'email' => 'ryanqtebonay914881@army.mil.ph',
            'email_verified_at' => now(),
            'password' => Hash::make('123456789'),
            'created_at' => now(),
            'updated_at' => now()
        ]);
    }
public function run ( ) { DB :: table ( 'users' ) -> insert ( [ 'rankcode' => 'Cpl' , 'unitcode' => 'NETB' , 'pamu' => 'ASR' , 'firstname' => 'Ryan' , 'middlename' => 'Labarda' , 'lastname' => 'Malatbalat' , 'appendage' => '' , 'email' => 'ryanqtebonay914881@army.mil.ph' , 'email_verified_at' => now ( ) , 'password' => Hash :: make ( '123456789' ) , 'created_at' => now ( ) , 'updated_at' => now ( ) ] ) ; }
Run the database seeds.
Run the database seeds .