@ -38,6 +38,12 @@ EXECUTE 'CREATE INDEX IF NOT EXISTS process_task_relation_log_idx_project_code_p
EXECUTE'DROP INDEX IF EXISTS "idx_task_definition_log_code_version"';
EXECUTE'DROP INDEX IF EXISTS "idx_task_definition_log_code_version"';
EXECUTE'CREATE INDEX IF NOT EXISTS idx_task_definition_log_code_version ON '||quote_ident(v_schema)||'.t_ds_task_definition_log USING Btree("code","version")';
EXECUTE'CREATE INDEX IF NOT EXISTS idx_task_definition_log_code_version ON '||quote_ident(v_schema)||'.t_ds_task_definition_log USING Btree("code","version")';
EXECUTE'DROP INDEX IF EXISTS "idx_task_definition_log_project_code"';
EXECUTE'CREATE INDEX IF NOT EXISTS idx_task_definition_log_project_code ON '||quote_ident(v_schema)||'.t_ds_task_definition_log USING Btree("project_code")';
EXECUTE'DROP INDEX IF EXISTS "idx_task_instance_code_version"';
EXECUTE'CREATE INDEX IF NOT EXISTS idx_task_instance_code_version ON'||quote_ident(v_schema)||'.t_ds_task_instance USING Btree("task_code","task_definition_version")';