* Add pagination support for auth tokens * change analyze count estimate comment * adjust queries for efficiency and security * even more efficient queries
12 lines
352 B
PL/PgSQL
12 lines
352 B
PL/PgSQL
-- Copyright (c) HashiCorp, Inc.
|
|
-- SPDX-License-Identifier: BUSL-1.1
|
|
|
|
begin;
|
|
select plan(2);
|
|
|
|
select has_index('auth_token', 'auth_token_create_time_public_id_idx', array['create_time', 'public_id']);
|
|
select has_index('auth_token', 'auth_token_update_time_public_id_idx', array['update_time', 'public_id']);
|
|
|
|
select * from finish();
|
|
|
|
rollback; |