Ignore:
Timestamp:
Jan 3, 2014, 11:09:37 AM (11 years ago)
Author:
maron
Message:
  • Added: selection groupitems in export
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/UpdateTrace.php

    r678 r695  
    26842684}
    26852685
     2686function 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}
    26862695
    26872696$Updates = array(
     
    27032712        646 => array('Revision' => 666 , 'Function' => 'UpdateTo666'),
    27042713        666 => array('Revision' => 678 , 'Function' => 'UpdateTo678'),
     2714        678 => array('Revision' => 695 , 'Function' => 'UpdateTo695'),
    27052715);
Note: See TracChangeset for help on using the changeset viewer.