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