Changeset 574
- Timestamp:
- Aug 27, 2013, 11:02:00 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/UpdateTrace.php
r567 r574 2572 2572 } 2573 2573 2574 function UpdateTo574($Manager) 2575 { 2576 $Manager->Execute('CREATE TABLE IF NOT EXISTS `WikiPage` ( 2577 `Id` int(11) NOT NULL AUTO_INCREMENT, 2578 `Name` varchar(255) NOT NULL, 2579 `NormalizedName` varchar(255) NOT NULL, 2580 `VisibleInMenu` int(11) NOT NULL, 2581 PRIMARY KEY (`Id`), 2582 UNIQUE KEY `Name` (`Name`), 2583 KEY `VisibleInMenu` (`VisibleInMenu`) 2584 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;'); 2585 2586 $Manager->Execute('CREATE TABLE IF NOT EXISTS `WikiPageContent` ( 2587 `Id` int(11) NOT NULL AUTO_INCREMENT, 2588 `Page` int(11) NOT NULL, 2589 `Time` datetime NOT NULL, 2590 `Content` text NOT NULL, 2591 `User` int(11) NOT NULL, 2592 PRIMARY KEY (`Id`), 2593 KEY `User` (`User`), 2594 KEY `Page` (`Page`) 2595 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;'); 2596 2597 $Manager->Execute('ALTER TABLE `WikiPageContent` 2598 ADD CONSTRAINT `WikiPageContent_ibfk_2` FOREIGN KEY (`Page`) REFERENCES `WikiPage` (`Id`), 2599 ADD CONSTRAINT `WikiPageContent_ibfk_1` FOREIGN KEY (`User`) REFERENCES `User` (`ID`);'); 2600 } 2601 2602 2574 2603 $Updates = array( 2575 2604 498 => array('Revision' => 506, 'Function' => 'UpdateTo506'), … … 2580 2609 539 => array('Revision' => 543, 'Function' => 'UpdateTo543'), 2581 2610 543 => array('Revision' => 567, 'Function' => 'UpdateTo567'), 2611 567 => array('Revision' => 574, 'Function' => 'UpdateTo574'), 2582 2612 ); -
trunk/includes/Version.php
r573 r574 1 1 <?php 2 2 3 $Revision = 57 3; // Subversion revision4 $DatabaseRevision = 5 67; // Database structure revision3 $Revision = 574; // Subversion revision 4 $DatabaseRevision = 574; // Database structure revision 5 5 $ReleaseTime = '2013-08-27';
Note:
See TracChangeset
for help on using the changeset viewer.