diff --git a/nflow-engine/src/main/resources/scripts/db/update-7.1.0-x/mysql.legacy.update.ddl.sql b/nflow-engine/src/main/resources/scripts/db/update-7.1.0-x/mysql.legacy.update.ddl.sql index 29c0d4388..a667699c9 100644 --- a/nflow-engine/src/main/resources/scripts/db/update-7.1.0-x/mysql.legacy.update.ddl.sql +++ b/nflow-engine/src/main/resources/scripts/db/update-7.1.0-x/mysql.legacy.update.ddl.sql @@ -1,4 +1,3 @@ -drop index nflow_archive_workflow_uniq; +alter table nflow_archive_workflow drop constraint nflow_archive_workflow_uniq; create index idx_workflow_archive_type on nflow_archive_workflow(type); - diff --git a/nflow-engine/src/main/resources/scripts/db/update-7.1.0-x/mysql.update.ddl.sql b/nflow-engine/src/main/resources/scripts/db/update-7.1.0-x/mysql.update.ddl.sql index af6e1ec9c..7e473bd96 100644 --- a/nflow-engine/src/main/resources/scripts/db/update-7.1.0-x/mysql.update.ddl.sql +++ b/nflow-engine/src/main/resources/scripts/db/update-7.1.0-x/mysql.update.ddl.sql @@ -1,4 +1,4 @@ -drop index nflow_archive_workflow_uniq; +alter table nflow_archive_workflow drop constraint nflow_archive_workflow_uniq; create index idx_workflow_archive_type on nflow_archive_workflow(type);