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