• File: BankAccoutsTableSeeder.php
  • Full Path: /var/www/imaliapitest/database/seeds/BankAccoutsTableSeeder.php
  • Date Modified: 05/19/2025 4:29 PM
  • File size: 1.63 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

use Illuminate\Database\Seeder;

class BankAccoutsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('bank_accounts')->insert([
            '0' => [
                'account_id' => 300854612,
                'account_name' => 'BIM',
                'pin' => 1234,
                'balance' => mt_rand(100, 10000),
                'taxa' => 5,
                'logo' => 'logo',
                'phone' => '845030902',
                'user_account' => 'Miguel Vasco Macamo',
                'user_id' => 1,
                'created_at' => now(),
                'updated_at' => now()
            ],
            '1' => [
                'account_id' => 84501715001,
                'account_name' => 'BCI',
                'pin' => 1234,
                'balance' => mt_rand(100, 10000),
                'taxa' => 5,
                'logo' => 'logo',
                'phone' => '845030902',
                'user_account' => 'Miguel Vasco Macamo',
                 'user_id' => 1,
                'created_at' => now(),
                'updated_at' => now()
            ],
            '2' => [
                'account_id' => 475521478,
                'account_name' => 'BIM',
                'pin' => 1234,
                'balance' => mt_rand(100, 10000),
                'taxa' => 5,
                'logo' => 'logo',
                'phone' => '849231169',
                'user_account' => 'Rodrigues Mafumo',
                'user_id' => 1,
                'created_at' => now(),
                'updated_at' => now()
            ]
        ]);

    }
}