Skip to content

Commit f247073

Browse files
committed
EXTENSION IF NOT EXISTS
1 parent 9120691 commit f247073

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

qiita_db/support_files/patches/93.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
-- Note: for this to work you need to have created as admin the extension
4141
-- CREATE EXTENSION pg_trgm;
42+
CREATE EXTENSION IF NOT EXISTS "pg_trgm" WITH SCHEMA public;
4243

4344
-- This alter table will take close to 11 min
4445
ALTER TABLE qiita.processing_job

qiita_db/support_files/patches/test_db_sql/92.sql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -952,8 +952,3 @@ INSERT INTO qiita.human_reads_filter_method (
952952
UPDATE qiita.artifact
953953
SET human_reads_filter_method_id = 1
954954
WHERE artifact_id = 1;
955-
956-
-- Oct 18, 2024
957-
-- This is going to be used in 93.sql but adding it here so it happens before that
958-
-- patch in the test database
959-
CREATE EXTENSION pg_trgm;

0 commit comments

Comments
 (0)