mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix migration sql statements
The changes still refer to the database used in mydms 1.7.2
This commit is contained in:
parent
f323d1cabf
commit
a964f20bdc
|
@ -29,6 +29,8 @@ END
|
|||
|
||||
START TRANSACTION;
|
||||
|
||||
ALTER TABLE `tblDocumentContent` MODIFY `version` smallint(5) unsigned NOT NULL;
|
||||
|
||||
ALTER TABLE tblACLs ENGINE=InnoDB;
|
||||
|
||||
ALTER TABLE tblCategory ENGINE=InnoDB;
|
||||
|
@ -99,6 +101,8 @@ ALTER TABLE tblDocuments ADD CONSTRAINT `tblDocuments_folder` FOREIGN KEY (`fold
|
|||
|
||||
CALL DROPFK('tblDocumentContent', 'tblDocumentDocument_document');
|
||||
|
||||
ALTER TABLE tblDocumentContent DROP PRIMARY KEY;
|
||||
|
||||
ALTER TABLE tblDocumentContent ADD CONSTRAINT `tblDocumentContent_document` FOREIGN KEY (`document`) REFERENCES `tblDocuments` (`id`);
|
||||
|
||||
CALL DROPFK('tblDocumentLinks', 'tblDocumentLinks_user');
|
||||
|
|
Loading…
Reference in New Issue
Block a user