Changeset 878 for trunk/Application


Ignore:
Timestamp:
Jun 25, 2020, 10:21:26 AM (4 years ago)
Author:
chronos
Message:
  • Fixed: Import of news from zdechov.cz and obec-hovezi.cz.
Location:
trunk/Application
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UpdateTrace.php

    r874 r878  
    21092109  $Manager->Execute('UPDATE `NetworkSubnet` SET `MaskIPv6`=64 WHERE `AddressRangeIPv6` != ""');
    21102110  $Manager->Execute('UPDATE `NetworkSubnet` SET `AddressRangeIPv6` = REPLACE(`AddressRangeIPv6`, "/64", "")');
     2111}
     2112
     2113function UpdateTo878($Manager)
     2114{
     2115  $Manager->Execute('ALTER TABLE `NewsImport` ADD `Method` VARCHAR(255) NOT NULL AFTER `Category`;');
     2116  $Manager->Execute('ALTER TABLE `NewsImport` ADD PRIMARY KEY (`Id`);');
     2117  $Manager->Execute('ALTER TABLE `NewsImport` MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;');
    21112118}
    21122119
     
    22112218      867 => array('Revision' => 869, 'Function' => 'UpdateTo869'),
    22122219      869 => array('Revision' => 870, 'Function' => 'UpdateTo870'),
     2220      870 => array('Revision' => 878, 'Function' => 'UpdateTo878'),
    22132221    );
    22142222  }
  • trunk/Application/Version.php

    r877 r878  
    11<?php
    22
    3 $Revision = 877; // Subversion revision
    4 $DatabaseRevision = 870; // SQL structure revision
    5 $ReleaseTime = strtotime('2020-04-25');
     3$Revision = 878; // Subversion revision
     4$DatabaseRevision = 878; // SQL structure revision
     5$ReleaseTime = strtotime('2020-06-25');
Note: See TracChangeset for help on using the changeset viewer.