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