You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
447 B

CREATE TABLE IF NOT EXISTS `tiki_object_relations` (
`relationId` INT PRIMARY KEY AUTO_INCREMENT,
`relation` varchar(25) NOT NULL,
`source_type` varchar(50) NOT NULL,
`source_itemId` varchar(255) NOT NULL,
`target_type` varchar(50) NOT NULL,
`target_itemId` varchar(255) NOT NULL,
KEY `relation_source_ix` (`source_type`, `source_itemId`),
KEY `relation_target_ix` (`target_type`, `target_itemId`)
) ENGINE=MyISAM;