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