mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-01-16 19:05:08 -05:00
30 lines
590 B
PHP
30 lines
590 B
PHP
<?php
|
|
|
|
namespace Modules\Account\Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Modules\Account\Entities\BankAccount;
|
|
|
|
class BankAccountTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
Model::unguard();
|
|
|
|
BankAccount::truncate();
|
|
|
|
BankAccount::create([
|
|
'bank_name' => 'DBBL',
|
|
'branch_name' => 'Mirpur',
|
|
'account_name' => 'John Smith',
|
|
'account_number' => '1325464652',
|
|
]);
|
|
}
|
|
}
|