mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 23:24:57 +00:00
add table tblLinkType
This commit is contained in:
parent
8d6485b8a5
commit
7d6b33fbb5
|
@ -65,6 +65,15 @@ CREATE TABLE `tblUserAttributes` (
|
|||
CONSTRAINT `tblUserAttributes_userid` FOREIGN KEY (`userID`) REFERENCES `tblUsers` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE `tblLinkType` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`name` text NOT NULL,
|
||||
`color` char(8) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
ALTER TABLE `tblDocumentLinks` ADD COLUMN `linktype` int(11) DEFAULT NULL, ADD FOREIGN KEY tblDocumentLinks_linktype(`linktype`) REFERENCES tblLinkType(`id`) ON DELETE CASCADE;
|
||||
|
||||
UPDATE `tblVersion` set `major`=6, `minor`=1, `subminor`=0, `module`='core';
|
||||
|
||||
COMMIT;
|
||||
|
|
Loading…
Reference in New Issue
Block a user