aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-catalog-db-adapter
diff options
context:
space:
mode:
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2020-02-06 14:30:35 +0100
committerRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2020-02-06 13:32:28 +0000
commit8751405899d321cb7a5611290dd70358428196cc (patch)
tree2386b9f5c62501a19715f36fc78245dfb384b891 /adapters/mso-catalog-db-adapter
parent9b496eb93f2056656f9ab182de37beb88a9f75cd (diff)
Fix repeatable migration of WorkflowDesignerData (CatalogDB)
Issue-ID: SO-2648 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I32623ed9937519bf275e3d8f715200c09c58a268
Diffstat (limited to 'adapters/mso-catalog-db-adapter')
-rw-r--r--adapters/mso-catalog-db-adapter/src/main/resources/db/migration/R__WorkflowDesignerData.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/R__WorkflowDesignerData.sql b/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/R__WorkflowDesignerData.sql
index 42df1adf13..b86bae1b06 100644
--- a/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/R__WorkflowDesignerData.sql
+++ b/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/R__WorkflowDesignerData.sql
@@ -7,6 +7,7 @@ DELETE FROM activity_spec;
DELETE FROM activity_spec_categories;
DELETE FROM activity_spec_parameters;
DELETE FROM user_parameters;
+DELETE FROM workflow;
INSERT INTO activity_spec (NAME, DESCRIPTION, VERSION)
VALUES