⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
database
/
seeders
/
View File Name :
DemoProductSubCategoriesTableSeeder.php
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class DemoProductSubCategoriesTableSeeder extends Seeder { /** * Auto generated seed file * * @return void */ public function run() { \DB::table('product_sub_categories')->delete(); \DB::table('product_sub_categories')->insert([ 0 => [ 'id' => 1, 'name' => 'Laptop', 'slug' => 'laptop', 'code' => 1, 'note' => '', 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'cat_id' => 1, ], 1 => [ 'id' => 2, 'name' => 'Mobile', 'slug' => 'mobile', 'code' => 2, 'note' => '', 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'cat_id' => 1, ], ]); } }