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

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

15 lines
600 B
PL/PgSQL
Raw Normal View History

2023-12-12 17:33:32 -08:00
-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: BUSL-1.1
begin;
select plan(4);
select has_index('host_plugin_host', 'host_plugin_host_create_time_public_id_idx', array['create_time', 'public_id']);
select has_index('host_plugin_host', 'host_plugin_host_update_time_public_id_idx', array['update_time', 'public_id']);
select has_index('static_host', 'static_host_create_time_public_id_idx', array['create_time', 'public_id']);
select has_index('static_host', 'static_host_update_time_public_id_idx', array['update_time', 'public_id']);
select * from finish();
rollback;