mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-30 09:44:07 +00:00
seed plumber service
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders\PlumberService;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class PlumberServiceEntitySignaturesTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
DB::table('entity_signatures')->insert([
|
||||
[
|
||||
'id' => 201,
|
||||
'entity_id' => 201,
|
||||
'type' => config('constants.entity.signature.master_key'),
|
||||
'status' => 1,
|
||||
'created_at' => date('Y-m-d H:i:s'),
|
||||
'updated_at' => date('Y-m-d H:i:s')
|
||||
],
|
||||
[
|
||||
'id' => 202,
|
||||
'entity_id' => 202,
|
||||
'type' => config('constants.entity.signature.master_key'),
|
||||
'status' => 1,
|
||||
'created_at' => date('Y-m-d H:i:s'),
|
||||
'updated_at' => date('Y-m-d H:i:s')
|
||||
],
|
||||
[
|
||||
'id' => 203,
|
||||
'entity_id' => 203,
|
||||
'type' => config('constants.entity.signature.master_key'),
|
||||
'status' => 1,
|
||||
'created_at' => date('Y-m-d H:i:s'),
|
||||
'updated_at' => date('Y-m-d H:i:s')
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user