Managed group list pagination (#4208)

* wip

* managed groups pagination

* address PR comments

* missed one change
This commit is contained in:
Michael Milton authored and Johan Brandhorst-Satzkorn committed 2024-01-05 07:43:21 -08:00
1 parent f49ba4662c
commit 52b1c1b4c7
31 files changed
+4059 -278

No files matched your search

@@ -0,0 +1,22 @@
-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: BUSL-1.1
begin;
-- Add new indexes for the create time and update time queries.
create index auth_ldap_managed_group_create_time_public_id_idx
on auth_ldap_managed_group (create_time desc, public_id desc);
create index auth_ldap_managed_group_update_time_public_id_idx
on auth_ldap_managed_group (update_time desc, public_id desc);
analyze auth_ldap_managed_group;
-- Add new indexes for the create time and update time queries.
create index auth_oidc_managed_group_create_time_public_id_idx
on auth_oidc_managed_group (create_time desc, public_id desc);
create index auth_oidc_managed_group_update_time_public_id_idx
on auth_oidc_managed_group (update_time desc, public_id desc);
analyze auth_oidc_managed_group;
commit;