Files
threshold/internal/db/sqltest/tests/hcp/billing/indexes.sql
T
Hugo 41b1b5b4b7 feat(db): Introduce migrations for ssh targets (#2960)
Adds the schema for ssh targets. This also changes the target listing
func to not error out when it encounters a target with an unknown type.
Instead, it now ignores it and continues to the next one.
2023-02-21 16:31:22 -05:00

14 lines
366 B
PL/PgSQL

-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: MPL-2.0
begin;
select plan(1);
select has_index('wh_session_accumulating_fact',
'wh_session_accumulating_fact_session_pending_time_idx',
'session_pending_time',
'index for hcp billing views is missing' );
select * from finish();
rollback;