From 60f60f11f7038dc44908ce77a7f4ae9433d495ab Mon Sep 17 00:00:00 2001
From: buczekp <buczekp>
Date: Tue, 10 May 2011 09:31:51 +0000
Subject: [PATCH] [LMS-2104] fixed sql problem introduced in merge

SVN: 21189
---
 openbis/source/sql/generic/071/schema-071.sql | 1 -
 1 file changed, 1 deletion(-)

diff --git a/openbis/source/sql/generic/071/schema-071.sql b/openbis/source/sql/generic/071/schema-071.sql
index cfed38f4314..b249ced5a45 100644
--- a/openbis/source/sql/generic/071/schema-071.sql
+++ b/openbis/source/sql/generic/071/schema-071.sql
@@ -204,7 +204,6 @@ ALTER TABLE DATA ADD CONSTRAINT DATA_SAMP_FK FOREIGN KEY (SAMP_ID) REFERENCES SA
 ALTER TABLE DATA ADD CONSTRAINT DATA_DAST_FK FOREIGN KEY (DAST_ID) REFERENCES DATA_STORES(ID);
 ALTER TABLE DATA ADD CONSTRAINT DATA_CTNR_FK FOREIGN KEY (CTNR_ID) REFERENCES DATA(ID);
 ALTER TABLE DATA ADD CONSTRAINT DATA_PERS_FK FOREIGN KEY (PERS_ID_REGISTERER) REFERENCES PERSONS(ID);
-ALTER TABLE DATA ADD CONSTRAINT DATA_CTNR_PARENT_FK FOREIGN KEY (CTNR_PARENT_ID) REFERENCES DATA(ID);
 ALTER TABLE DATA_SET_RELATIONSHIPS ADD CONSTRAINT DSRE_DATA_FK_CHILD FOREIGN KEY (DATA_ID_CHILD) REFERENCES DATA(ID);
 ALTER TABLE DATA_SET_RELATIONSHIPS ADD CONSTRAINT DSRE_DATA_FK_PARENT FOREIGN KEY (DATA_ID_PARENT) REFERENCES DATA(ID);
 ALTER TABLE sample_relationships ADD CONSTRAINT sare_data_fk_child FOREIGN KEY (sample_id_child) REFERENCES samples(id) ON DELETE CASCADE;
-- 
GitLab