diff --git a/config/database/mysql/create-schemas.sql b/config/database/mysql/create-schemas.sql index 56b27217..a7a9f185 100644 --- a/config/database/mysql/create-schemas.sql +++ b/config/database/mysql/create-schemas.sql @@ -72,8 +72,6 @@ CREATE TABLE R_LABEL_MINDMAP ( PRIMARY KEY (mindmap_id, label_id), FOREIGN KEY (mindmap_id) REFERENCES MINDMAP (id), FOREIGN KEY (label_id) REFERENCES LABEL (id) - ON DELETE CASCADE - ON UPDATE NO ACTION ) CHARACTER SET utf8; diff --git a/wise-webapp/src/main/resources/com/wisemapping/model/Mindmap.hbm.xml b/wise-webapp/src/main/resources/com/wisemapping/model/Mindmap.hbm.xml index e0f69a27..a40c3fb3 100644 --- a/wise-webapp/src/main/resources/com/wisemapping/model/Mindmap.hbm.xml +++ b/wise-webapp/src/main/resources/com/wisemapping/model/Mindmap.hbm.xml @@ -27,8 +27,7 @@ + table="R_LABEL_MINDMAP">