Skip to content

Commit

Permalink
fix drop foreign key constraint statements for mysql and db2 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Edvard Fonsell committed Mar 4, 2020
1 parent 2b70ca2 commit a41da91
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- These must be run before nFlow is updated.

alter table nflow_workflow drop constraint fk_workflow_parent;
alter table nflow_workflow drop foreign key fk_workflow_parent;

alter table nflow_workflow drop constraint fk_workflow_root;
alter table nflow_workflow drop foreign key fk_workflow_root;

create index idx_workflow_parent on nflow_workflow(parent_workflow_id);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- These must be run before nFlow is updated.

alter table nflow_workflow drop constraint fk_workflow_parent;
alter table nflow_workflow drop foreign key fk_workflow_parent;

alter table nflow_workflow drop constraint fk_workflow_root;
alter table nflow_workflow drop foreign key fk_workflow_root;

create index idx_workflow_parent on nflow_workflow(parent_workflow_id);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- These must be run before nFlow is updated.

alter table nflow_workflow drop constraint fk_workflow_parent;
alter table nflow_workflow drop foreign key fk_workflow_parent;

alter table nflow_workflow drop constraint fk_workflow_root;
alter table nflow_workflow drop foreign key fk_workflow_root;

create index idx_workflow_parent on nflow_workflow(parent_workflow_id);

Expand Down

0 comments on commit a41da91

Please sign in to comment.