File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
qiita_db/support_files/patches Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ ALTER TABLE qiita.processing_job
4545 ALTER COLUMN command_parameters TYPE JSONB USING command_parameters::jsonb;
4646
4747-- This indexing will take like 5 min
48- CREATE INDEX processing_job_command_parameters_job_id ON qiita .processing_job
48+ CREATE INDEX IF NOT EXISTS processing_job_command_parameters_job_id ON qiita .processing_job
4949 USING GIN((command_parameters- >> ' job_id' ) gin_trgm_ops);
5050
5151-- This indexing will take like an hour
52- CREATE INDEX processing_job_command_parameters_payload ON qiita .processing_job
52+ CREATE INDEX IF NOT EXISTS processing_job_command_parameters_payload ON qiita .processing_job
5353 USING GIN((command_parameters- >> ' payload' ) gin_trgm_ops);
5454
5555-- After the changes
Original file line number Diff line number Diff line change @@ -952,3 +952,8 @@ INSERT INTO qiita.human_reads_filter_method (
952952UPDATE 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;
You can’t perform that action at this time.
0 commit comments