Changeset 608 for trunk/admin/UpdateTrace.php
- Timestamp:
- Nov 26, 2013, 10:12:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/UpdateTrace.php
r605 r608 2623 2623 } 2624 2624 2625 function UpdateTo609($Manager) 2626 { 2627 $Manager->Execute('CREATE TABLE IF NOT EXISTS `Locale` ( 2628 `Id` int(11) NOT NULL AUTO_INCREMENT, 2629 `Language` int(11) NOT NULL, 2630 `Original` varchar(255) NOT NULL, 2631 `Translated` varchar(255) NOT NULL, 2632 `Fuzzy` int(11) NOT NULL, 2633 PRIMARY KEY (`Id`), 2634 KEY `Language` (`Language`) 2635 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;'); 2636 2637 $Manager->Execute('ALTER TABLE `Locale` 2638 ADD CONSTRAINT `Locale_ibfk_1` FOREIGN KEY (`Language`) REFERENCES `Language` (`Id`);'); 2639 } 2640 2625 2641 $Updates = array( 2626 2642 498 => array('Revision' => 506, 'Function' => 'UpdateTo506'), … … 2635 2651 585 => array('Revision' => 600, 'Function' => 'UpdateTo600'), 2636 2652 600 => array('Revision' => 604, 'Function' => 'UpdateTo604'), 2653 604 => array('Revision' => 609, 'Function' => 'UpdateTo609'), 2637 2654 );
Note:
See TracChangeset
for help on using the changeset viewer.