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