insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'crm.school.slider.view', 'name' => 'View Slider', ], [ 'slug' => 'crm.school.slider.create', 'name' => 'Create Slider', ], [ 'slug' => 'crm.school.slider.edit', 'name' => 'Update Slider', ], [ 'slug' => 'crm.school.slider.delete', 'name' => 'Delete Slider', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/school/slider', 'name' => 'Slider', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/school/slider', 'name' => 'Slider', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'slider', 'name' => 'Slider', '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' => 'School', 'module' => 'Slider', 'user_type' => null, 'user_id' => null, 'key' => 'crm.school.slider.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }