From 90f9cbe1e6ff28698bc394301e77c7ece0f672b1 Mon Sep 17 00:00:00 2001 From: Sangeetha Date: Tue, 18 Oct 2022 09:50:04 +0100 Subject: [PATCH] Added the index query to schema --- baracoda/sql/schema.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/baracoda/sql/schema.sql b/baracoda/sql/schema.sql index b9ecda6..4341edd 100644 --- a/baracoda/sql/schema.sql +++ b/baracoda/sql/schema.sql @@ -41,6 +41,9 @@ CREATE TABLE child_barcode_counter PRIMARY KEY (barcode) ); +DROP INDEX IF EXISTS barcodes_group_id_index; +CREATE INDEX barcodes_group_id_index ON barcodes(barcodes_group_id); + DROP TABLE IF EXISTS alembic_version; CREATE TABLE alembic_version (