insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'buyer.buyer.view', 'name' => 'View Buyer', ], [ 'slug' => 'buyer.buyer.create', 'name' => 'Create Buyer', ], [ 'slug' => 'buyer.buyer.edit', 'name' => 'Update Buyer', ], [ 'slug' => 'buyer.buyer.delete', 'name' => 'Delete Buyer', ], // Customize this permissions if needed. [ 'slug' => 'buyer.buyer.verify', 'name' => 'Verify Buyer', ], [ 'slug' => 'buyer.buyer.approve', 'name' => 'Approve Buyer', ], [ 'slug' => 'buyer.buyer.publish', 'name' => 'Publish Buyer', ], [ 'slug' => 'buyer.buyer.unpublish', 'name' => 'Unpublish Buyer', ], [ 'slug' => 'buyer.buyer.cancel', 'name' => 'Cancel Buyer', ], [ 'slug' => 'buyer.buyer.archive', 'name' => 'Archive Buyer', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/buyer/buyer', 'name' => 'Buyer', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/buyer/buyer', 'name' => 'Buyer', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'buyer', 'name' => 'Buyer', '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' => 'Buyer', 'module' => 'Buyer', 'user_type' => null, 'user_id' => null, 'key' => 'buyer.buyer.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }