Changeset 695 for trunk/admin/UpdateTrace.php
- Timestamp:
- Jan 3, 2014, 11:09:37 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/UpdateTrace.php
r678 r695 2684 2684 } 2685 2685 2686 function UpdateTo695($Manager) 2687 { 2688 $Manager->Execute('CREATE TABLE IF NOT EXISTS `ExportGroupItem` (`Id` int(11) NOT NULL AUTO_INCREMENT,'. 2689 '`Export` int(11) NOT NULL,`GroupItem` int(11) NOT NULL, PRIMARY KEY (`Id`), KEY `Export` (`Export`),'. 2690 ' KEY `GroupItem` (`GroupItem`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;'); 2691 $Manager->Execute('ALTER TABLE `ExportGroupItem`'. 2692 'ADD CONSTRAINT `ExportGroupItem_ibfk_1` FOREIGN KEY (`Export`) REFERENCES `Export` (`Id`),'. 2693 'ADD CONSTRAINT `ExportGroupItem_ibfk_2` FOREIGN KEY (`GroupItem`) REFERENCES `GroupItem` (`Id`);'); 2694 } 2686 2695 2687 2696 $Updates = array( … … 2703 2712 646 => array('Revision' => 666 , 'Function' => 'UpdateTo666'), 2704 2713 666 => array('Revision' => 678 , 'Function' => 'UpdateTo678'), 2714 678 => array('Revision' => 695 , 'Function' => 'UpdateTo695'), 2705 2715 );
Note:
See TracChangeset
for help on using the changeset viewer.