mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-19 20:34:01 +00:00
37 lines
986 B
PHP
37 lines
986 B
PHP
<?php
|
|
|
|
namespace Database\Seeders\SodaVendorMachine;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Str;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class SodaVendorEntitySignaturesTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('entity_signatures')->insert([
|
|
[
|
|
'id' => 1,
|
|
'entity_id' => 1,
|
|
'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' => 2,
|
|
'entity_id' => 2,
|
|
'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')
|
|
]
|
|
]);
|
|
}
|
|
} |