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