HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/ghayatcom/ghayatcom-api/database/seeders/SumSubSeeder.php
<?php

namespace Database\Seeders;

use App\Sumsub;
use Illuminate\Database\Seeder;

class SumSubSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $datas = [
            1 => [
                'user_id' => 3,
                'type' => 'PASSPORT',
                'external_user_id' => 'abc2021',
                'application_id' => 'app123456',
                'upload_id' => 0123456,
                'file_name' => 'dummy_id_verification_file.jpg',
                'response_json' => '{"IDENTITY" : {"reviewResult" : {"reviewAnswer" : "GREEN"}}}',
                'status' => '1',
            ],
            2 => [
                'user_id' => 2,
                'type' => 'PASSPORT',
                'external_user_id' => 'abc2021',
                'application_id' => 'app123456',
                'upload_id' => 0123456,
                'file_name' => 'dummy_id_verification_file.jpg',
                'response_json' => '{"IDENTITY" : {"reviewResult" : {"reviewAnswer" : "GREEN"}}}',
                'status' => '1',
            ],
        ];

        foreach ($datas as $id => $data) {
            Sumsub::create($data);
        }
    }
}