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
45
45
ALTER COLUMN command_parameters TYPE JSONB USING command_parameters::jsonb;
46
46
47
47
-- 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
49
49
USING GIN((command_parameters- >> ' job_id' ) gin_trgm_ops);
50
50
51
51
-- 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
53
53
USING GIN((command_parameters- >> ' payload' ) gin_trgm_ops);
54
54
55
55
-- After the changes
Original file line number Diff line number Diff line change @@ -952,3 +952,8 @@ INSERT INTO qiita.human_reads_filter_method (
952
952
UPDATE qiita .artifact
953
953
SET human_reads_filter_method_id = 1
954
954
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