Files
threshold/internal/db/sqltest/tests/pagination/iam_scope.sql
T
Johan Brandhorst-Satzkorn 85ca909720 internal/db: add iam_scope indexes
These will help the iam_scope list queries
2024-01-05 07:43:21 -08:00

13 lines
349 B
PL/PgSQL

-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: BUSL-1.1
begin;
select plan(2);
select has_index('iam_scope', 'iam_scope_create_time_public_id_idx', array['create_time', 'public_id']);
select has_index('iam_scope', 'iam_scope_update_time_public_id_idx', array['update_time', 'public_id']);
select * from finish();
rollback;