diff --git a/db/project.xml b/db/project.xml index 69c863e08..3ee3b65fb 100644 --- a/db/project.xml +++ b/db/project.xml @@ -1595,4 +1595,9 @@ ALTER TABLE `analysis_outputs` ADD SYSTEM VERSIONING; ALTER TABLE `analysis_outputs` ADD CONSTRAINT `chk_file_id_output` CHECK ((file_id IS NOT NULL AND output IS NULL) OR (file_id IS NULL AND output IS NOT NULL)); + + ALTER TABLE `output_file` DROP SYSTEM VERSIONING; + ALTER TABLE output_file MODIFY dirname VARCHAR(255); + ALTER TABLE `output_file` ADD SYSTEM VERSIONING; +