insert([ [ "productname" => 'demo', "productdescription" => 'This is demo text', ], [ "productname" => 'demo', "productdescription" => 'This is demo text', ], ]); DB::table('permissions')->insert([ [ 'slug' => 'product.products.view', 'name' => 'View Products', ], [ 'slug' => 'product.products.create', 'name' => 'Create Products', ], [ 'slug' => 'product.products.edit', 'name' => 'Update Products', ], [ 'slug' => 'product.products.delete', 'name' => 'Delete Products', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/product/products', 'name' => 'Products', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/product/products', 'name' => 'Products', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'products', 'name' => 'Products', 'description' => null, 'icon' => null, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Product', 'module' => 'Products', 'user_type' => null, 'user_id' => null, 'key' => 'product.products.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }