Changeset 867 for trunk/Application


Ignore:
Timestamp:
Jan 13, 2020, 12:26:00 AM (5 years ago)
Author:
chronos
Message:
  • Added: NotifLog table to collect notify changes in table to be able to preset them through RSS channel.
Location:
trunk/Application
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UpdateTrace.php

    r862 r867  
    20632063  $Manager->Execute('ALTER TABLE `NetworkInterfaceUpDown` ADD INDEX ( `Previous` )');
    20642064  $Manager->Execute('UPDATE `NetworkInterfaceUpDown` AS T1, `NetworkInterfaceUpDown` AS T2 SET T1.Previous = T2.Id WHERE (T1.Previous IS NULL) AND (T2.Interface=T1.Interface) AND (T1.Time = DATE_ADD(T2.Time, INTERVAL T2.Duration SECOND))');
     2065}
     2066
     2067function UpdateTo867($Manager)
     2068{
     2069  $Manager->Execute('CREATE TABLE IF NOT EXISTS `NotifyLog` (
     2070    `Id` int(11) NOT NULL AUTO_INCREMENT,
     2071    `Time` datetime NOT NULL,
     2072    `Title` varchar(255) NOT NULL DEFAULT "",
     2073    `Content` mediumtext NOT NULL DEFAULT "",
     2074    PRIMARY KEY (`Id`),
     2075    KEY `Time` (`Time`)
     2076  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;');
     2077
    20652078}
    20662079
     
    21622175      844 => array('Revision' => 855, 'Function' => 'UpdateTo855'),
    21632176      855 => array('Revision' => 862, 'Function' => 'UpdateTo862'),
     2177      862 => array('Revision' => 867, 'Function' => 'UpdateTo867'),
    21642178    ));
    21652179  }
  • trunk/Application/Version.php

    r866 r867  
    11<?php
    22
    3 $Revision = 866; // Subversion revision
    4 $DatabaseRevision = 862; // SQL structure revision
    5 $ReleaseTime = strtotime('2019-12-23');
     3$Revision = 867; // Subversion revision
     4$DatabaseRevision = 867; // SQL structure revision
     5$ReleaseTime = strtotime('2020-01-13');
Note: See TracChangeset for help on using the changeset viewer.