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