Changeset 585 for trunk/admin/UpdateTrace.php
- Timestamp:
- Sep 13, 2013, 9:26:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/UpdateTrace.php
r574 r585 2600 2600 } 2601 2601 2602 function UpdateTo585($Manager) 2603 { 2604 $Manager->Execute('CREATE TABLE IF NOT EXISTS `APIToken` ( 2605 `Id` int(11) NOT NULL AUTO_INCREMENT, 2606 `User` int(11) NOT NULL, 2607 `Token` varchar(255) NOT NULL, 2608 PRIMARY KEY (`Id`), 2609 KEY `User` (`User`) 2610 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;'); 2611 $Manager->Execute('ALTER TABLE `APIToken` 2612 ADD CONSTRAINT `APIToken_ibfk_1` FOREIGN KEY (`User`) REFERENCES `User` (`ID`);'); 2613 } 2602 2614 2603 2615 $Updates = array( … … 2610 2622 543 => array('Revision' => 567, 'Function' => 'UpdateTo567'), 2611 2623 567 => array('Revision' => 574, 'Function' => 'UpdateTo574'), 2624 574 => array('Revision' => 585, 'Function' => 'UpdateTo585'), 2612 2625 );
Note:
See TracChangeset
for help on using the changeset viewer.