database/seeders/BankAccountSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $bank = array(
        'user_id'=> 1,
        'accountholder_name'=>'Account of Super Admin',
        'bank_name'=>'Bank of Super Admin',
        'branch_name'=>'Branch of Super Admin',
        'account_number'=>'1234567899124567'
        );
        DB::table('bank_accounts')->insert($bank);
    }
public function run ( ) { $ bank = array ( 'user_id' => 1 , 'accountholder_name' => 'Account of Super Admin' , 'bank_name' => 'Bank of Super Admin' , 'branch_name' => 'Branch of Super Admin' , 'account_number' => '1234567899124567' ) ; DB :: table ( 'bank_accounts' ) -> insert ( $ bank ) ; }
Run the database seeds.
Run the database seeds .