diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2018-10-04 23:13:21 -0400 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2018-10-04 23:28:50 -0400 |
commit | 3259378d1c88bf089ca93e0758324cbc809e4771 (patch) | |
tree | 45a100cf4b18ff3c6097666b324fd1cd056fdbb8 | |
parent | 9014a09d69201b16304bd4825cd0c6b7805b38a3 (diff) |
Fix for a foreign key constraint fails
https://stackoverflow.com/a/17828127
Change-Id: I38fb90fd1d6583a259a441f4f67f762724aff5ec
Issue-ID: CCSDK-357
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Former-commit-id: e221bf44834cb78483855aeadd4554f7f93d7da9
-rw-r--r-- | installation/sdnc/src/main/resources/blueprint-processor.data.dump | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/installation/sdnc/src/main/resources/blueprint-processor.data.dump b/installation/sdnc/src/main/resources/blueprint-processor.data.dump index 9a4bd3f0..5fd53cbd 100644 --- a/installation/sdnc/src/main/resources/blueprint-processor.data.dump +++ b/installation/sdnc/src/main/resources/blueprint-processor.data.dump @@ -2,11 +2,14 @@ -- Dropping tables ( One time ) -- ----------------------------------------------------- +SET FOREIGN_KEY_CHECKS=0; + DROP TABLE sdnctl.CONFIG_RESOURCE_ASSIGNMENT_DATA; DROP TABLE sdnctl.CONFIG_RESOURCE; DROP TABLE sdnctl.CONFIG_RESOURCE_RELATION; -DROP TABLE sdnctl.CONFIG_TRANSACTION_LOG +DROP TABLE sdnctl.CONFIG_TRANSACTION_LOG; +SET FOREIGN_KEY_CHECKS=1; -- ----------------------------------------------------- -- table sdnctl.CONFIG_TRANSACTION_LOG |