-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinsert_perp_temp.php
More file actions
28 lines (26 loc) · 802 Bytes
/
Copy pathinsert_perp_temp.php
File metadata and controls
28 lines (26 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
require __DIR__ . '/vendor/autoload.php';
$app = require __DIR__ . '/bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$kernel->bootstrap();
App\Models\Perpetrator::create([
'first_name' => 'Aklilu',
'last_name' => 'Abera',
'gender' => 'male',
'age' => 0,
'date_of_birth' => '1900-01-01',
'contact_number' => '0909630346',
'address' => 'Arba Minch University Main Campus',
'occupation' => 'N/A',
'relationship_to_victim' => 'N/A',
'fan_number' => 'N/A',
'fin_number' => 'N/A',
'previous_records' => false,
'description' => 'dshfa f',
'additional_info' => [
'case' => 'Unassigned',
'victim' => 'N/A',
'abuse_type' => 'N/A'
],
]);
echo "Inserted perpetrator Aklilu Abera\n";