insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'shopping.product.product.view', 'name' => 'View Product', ], [ 'slug' => 'shopping.product.product.create', 'name' => 'Create Product', ], [ 'slug' => 'shopping.product.product.edit', 'name' => 'Update Product', ], [ 'slug' => 'shopping.product.product.delete', 'name' => 'Delete Product', ], [ 'slug' => 'shopping.product.product.verify', 'name' => 'Verify Product', ], [ 'slug' => 'shopping.product.product.approve', 'name' => 'Approve Product', ], [ 'slug' => 'shopping.product.product.publish', 'name' => 'Publish Product', ], [ 'slug' => 'shopping.product.product.unpublish', 'name' => 'Unpublish Product', ], [ 'slug' => 'shopping.product.product.cancel', 'name' => 'Cancel Product', ], [ 'slug' => 'shopping.product.product.archive', 'name' => 'Archive Product', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/product/product', 'name' => 'Product', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/product/product', 'name' => 'Product', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'product', 'name' => 'Product', 'description' => null, 'icon' => 'las la-scroll, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Product', 'module' => 'Product', 'user_type' => null, 'user_id' => null, 'key' => 'shopping.product.product.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }