mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 12:34:13 +00:00
35 lines
894 B
PHP
35 lines
894 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Carbon\Carbon;
|
|
|
|
class BookTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('bookings')->insert([
|
|
// 'id' => '1',
|
|
'account_name' => 'kazim',
|
|
'account_num' => '1234',
|
|
'bank_name' => 'maybank',
|
|
'bank_branch' => 'rembau',
|
|
'company_name' => 'ICEF',
|
|
'company_address' => 'selangor',
|
|
'bank_address' => 'cyber',
|
|
'swift_code' => 'qwe123',
|
|
'cnap' => '123asd',
|
|
'term' => 'x1',
|
|
'amount' => 1.2,
|
|
'rate_id' => '1',
|
|
'user_id' => '17',
|
|
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
|
|
'updated_at' => Carbon::now()->format('Y-m-d H:i:s'),
|
|
]);
|
|
}
|
|
}
|