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