This commit is contained in:
Naden
2026-04-25 04:41:23 +07:00
commit 7e9668a552
195 changed files with 20254 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?php
namespace App\Database\Seeds;
use CodeIgniter\Database\Seeder;
class EndpointSeeder extends Seeder
{
public function run()
{
$data = [
[
'endpoint_id' => 0,
'value' => '/auth',
'method' => 'POST',
'type' => 'backend',
'bypass' => '1',
'description' => '',
'created_by' => 'admin',
],
[
'endpoint_id' => 1,
'value' => '/endpoencode',
'method' => 'POST',
'type' => 'backend',
'bypass' => '0',
'description' => '',
'created_by' => 'admin',
],
[
'endpoint_id' => 2,
'value' => '/endpodecode',
'method' => 'POST',
'type' => 'backend',
'bypass' => '0',
'description' => '',
'created_by' => 'admin',
]
];
$this->db->table('endpoint')->insertBatch($data);
}
}