mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-19 12:24:01 +00:00
85 lines
3.3 KiB
PHP
85 lines
3.3 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders\PlumberService;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Str;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class PlumberServiceContractObligationDependenciesTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('contract_obligation_dependencies')->insert([
|
|
[
|
|
'id' => 201,
|
|
'user_id' => 4,
|
|
'contract_obligation_id' => 202, // plumber hero company rescue princess peach
|
|
'depend_contract_obligation_id' => 201, // mushroom kingdom request service from plumber hero company to rescue princess peach
|
|
'status' => 1,
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
'updated_at' => date('Y-m-d H:i:s')
|
|
],
|
|
[
|
|
'id' => 202,
|
|
'user_id' => 4,
|
|
'contract_obligation_id' => 203, // plumber hero company get reward
|
|
'depend_contract_obligation_id' => 202, // plumber hero company rescue princess peach
|
|
'status' => 1,
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
'updated_at' => date('Y-m-d H:i:s')
|
|
],
|
|
|
|
[
|
|
'id' => 203,
|
|
'user_id' => 3,
|
|
'contract_obligation_id' => 205, // plumber hero accept rescue mission
|
|
'depend_contract_obligation_id' => 204, // plumber hero company request plumber rescue mission service
|
|
'status' => 1,
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
'updated_at' => date('Y-m-d H:i:s')
|
|
],
|
|
[
|
|
'id' => 204,
|
|
'user_id' => 3,
|
|
'contract_obligation_id' => 206, // plumber hero complete castle level
|
|
'depend_contract_obligation_id' => 205, // plumber hero accept rescue mission
|
|
'status' => 1,
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
'updated_at' => date('Y-m-d H:i:s')
|
|
],
|
|
[
|
|
'id' => 205,
|
|
'user_id' => 3,
|
|
'contract_obligation_id' => 207, // plumber hero defeat bowser
|
|
'depend_contract_obligation_id' => 206, // plumber hero complete castle level
|
|
'status' => 1,
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
'updated_at' => date('Y-m-d H:i:s')
|
|
],
|
|
[
|
|
'id' => 206,
|
|
'user_id' => 3,
|
|
'contract_obligation_id' => 208, // plumber hero rescue princess peach
|
|
'depend_contract_obligation_id' => 207, // plumber hero defeat bowser
|
|
'status' => 1,
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
'updated_at' => date('Y-m-d H:i:s')
|
|
],
|
|
[
|
|
'id' => 207,
|
|
'user_id' => 3,
|
|
'contract_obligation_id' => 209, // plumber hero get reward
|
|
'depend_contract_obligation_id' => 208, // plumber hero rescue princess peach
|
|
'status' => 1,
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
'updated_at' => date('Y-m-d H:i:s')
|
|
],
|
|
]);
|
|
}
|
|
} |