Changeset 6730
- Timestamp:
- Jul 29, 2010, 1:33:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/amd_install.class.inc.php
r6729 r6730 99 99 );", 100 100 "CREATE TABLE `".$this->tables['user_tags_def']."` ( 101 `defId` int(10) unsigned NOT NULL auto_increment, 101 `numId` int(10) unsigned NOT NULL COMMENT 'Id of the tag', 102 `defId` int(10) unsigned NOT NULL default '0' COMMENT 'also used for ordering', 102 103 `parentId` int(10) unsigned NOT NULL default '0' COMMENT 'Id of the parent', 103 `numId` int(10) unsigned NOT NULL COMMENT 'Id of the tag', 104 `order` int(10) unsigned NOT NULL COMMENT 'Order, relative to the parent', 104 `order` int(10) unsigned NOT NULL, 105 105 `type` char(1) NOT NULL default 'T' COMMENT 'T = static text ; M = metadata value ; C = condition', 106 106 `value` varchar(200) NOT NULL, 107 107 `conditionType` char(2) NOT NULL default 'E', 108 108 `conditionValue` varchar(200) NOT NULL, 109 PRIMARY KEY (` defId`),110 KEY `byTag NumId`(`numId`,`parentId`,`order`),111 KEY `byTag ParentId` (`parentId`,`order`)109 PRIMARY KEY (`numId`,`defId`), 110 KEY `byTagParentId` USING BTREE (`numId`,`parentId`,`order`), 111 KEY `byTagOrder` (`numId`,`order`) 112 112 );", 113 113 ); … … 204 204 );", 205 205 "CREATE TABLE `".$this->tables['user_tags_def']."` ( 206 `defId` int(10) unsigned NOT NULL auto_increment, 206 `numId` int(10) unsigned NOT NULL COMMENT 'Id of the tag', 207 `defId` int(10) unsigned NOT NULL default '0' COMMENT 'also used for ordering', 207 208 `parentId` int(10) unsigned NOT NULL default '0' COMMENT 'Id of the parent', 208 `numId` int(10) unsigned NOT NULL COMMENT 'Id of the tag', 209 `order` int(10) unsigned NOT NULL COMMENT 'Order, relative to the parent', 209 `order` int(10) unsigned NOT NULL, 210 210 `type` char(1) NOT NULL default 'T' COMMENT 'T = static text ; M = metadata value ; C = condition', 211 211 `value` varchar(200) NOT NULL, 212 212 `conditionType` char(2) NOT NULL default 'E', 213 213 `conditionValue` varchar(200) NOT NULL, 214 PRIMARY KEY (` defId`),215 KEY `byTag NumId`(`numId`,`parentId`,`order`),216 KEY `byTag ParentId` (`parentId`,`order`)214 PRIMARY KEY (`numId`,`defId`), 215 KEY `byTagParentId` USING BTREE (`numId`,`parentId`,`order`), 216 KEY `byTagOrder` (`numId`,`order`) 217 217 );" 218 218 );
Note: See TracChangeset
for help on using the changeset viewer.