Ignore:
Timestamp:
Sep 4, 2020, 9:30:13 AM (4 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UpdateTrace.php

    r878 r880  
    21162116  $Manager->Execute('ALTER TABLE `NewsImport` ADD PRIMARY KEY (`Id`);');
    21172117  $Manager->Execute('ALTER TABLE `NewsImport` MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;');
     2118}
     2119
     2120function UpdateTo880($Manager)
     2121{
     2122  $Manager->Execute('ALTER TABLE `UserOnline` CHANGE `IpAddress` `IpAddress` VARCHAR(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';');
     2123  $Manager->Execute('ALTER TABLE `User` CHANGE `LastIpAddress` `LastIpAddress` VARCHAR(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';');
     2124  $Manager->Execute('ALTER TABLE `Log` CHANGE `IPAddress` `IPAddress` VARCHAR(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;');
    21182125}
    21192126
     
    22192226      869 => array('Revision' => 870, 'Function' => 'UpdateTo870'),
    22202227      870 => array('Revision' => 878, 'Function' => 'UpdateTo878'),
     2228      878 => array('Revision' => 880, 'Function' => 'UpdateTo880'),
    22212229    );
    22222230  }
Note: See TracChangeset for help on using the changeset viewer.