// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors
// SPDX-License-Identifier: Apache-2.0
/*
* Generated by @medplum/generator
* Do not edit manually.
*/
import type { PoolClient } from 'pg';
export async function run(client: PoolClient): Promise<void> {
await client.query('ALTER TABLE IF EXISTS "DiagnosticReport" ADD COLUMN IF NOT EXISTS "study" TEXT[]');
await client.query(
'CREATE INDEX CONCURRENTLY IF NOT EXISTS DiagnosticReport_study_idx ON "DiagnosticReport" USING gin ("study")'
);
}