mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
do not drop primary key of tblDocumentContent (it doesn't exist)
This commit is contained in:
parent
7406ad6297
commit
917b583d2a
|
@ -101,7 +101,7 @@ ALTER TABLE tblDocuments ADD CONSTRAINT `tblDocuments_folder` FOREIGN KEY (`fold
|
||||||
|
|
||||||
CALL DROPFK('tblDocumentContent', 'tblDocumentContent_document');
|
CALL DROPFK('tblDocumentContent', 'tblDocumentContent_document');
|
||||||
|
|
||||||
ALTER TABLE tblDocumentContent DROP PRIMARY KEY;
|
-- ALTER TABLE tblDocumentContent DROP PRIMARY KEY;
|
||||||
|
|
||||||
ALTER TABLE tblDocumentContent ADD CONSTRAINT `tblDocumentContent_document` FOREIGN KEY (`document`) REFERENCES `tblDocuments` (`id`);
|
ALTER TABLE tblDocumentContent ADD CONSTRAINT `tblDocumentContent_document` FOREIGN KEY (`document`) REFERENCES `tblDocuments` (`id`);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user