Files
threshold/internal/db/sqltest/tests/pagination/session.sql
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
753 B
PL/PgSQL
Raw Normal View History

2023-12-01 16:02:43 -05:00
-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: BUSL-1.1
begin;
2024-01-10 13:41:52 -08:00
select plan(4);
2023-12-01 16:02:43 -05:00
2024-01-10 13:41:52 -08:00
select has_index('session', 'session_project_id_create_time_list_idx', array['project_id', 'create_time', 'public_id', 'termination_reason']);
select has_index('session', 'session_project_id_update_time_list_idx', array['project_id', 'update_time', 'public_id', 'termination_reason']);
select has_index('session', 'session_user_id_project_id_create_time_list_idx', array['user_id', 'project_id', 'create_time', 'public_id', 'termination_reason']);
select has_index('session', 'session_user_id_project_id_update_time_list_idx', array['user_id', 'project_id', 'update_time', 'public_id', 'termination_reason']);
2023-12-01 16:02:43 -05:00
select * from finish();
2024-01-10 13:41:52 -08:00
rollback;