Ignore:
Timestamp:
Jan 11, 2016, 12:06:08 AM (9 years ago)
Author:
chronos
Message:
  • Modified: Now billing period for invoice generation is calculated as aligned to year boundary and if period is not complete then only valid months are used.
  • Removed: ToDo list and list of task and bugs is available in Trac web system.
  • Modified: BillingPeriodNext was replaced by more general ChangeAction in Member table.
  • Added: Log new monthly finance recalculation report to log table.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UpdateTrace.php

    r785 r786  
    17931793{
    17941794  $Manager->Execute('DROP TABLE `NetworkInterfaceStat`');
     1795}
     1796
     1797function UpdateTo786($Manager)
     1798{
     1799  $Manager->Execute('ALTER TABLE `Member` DROP FOREIGN KEY Member_ibfk_28;');
     1800  $Manager->Execute('ALTER TABLE `Member` DROP `BillingPeriodNext`;');
     1801  $Manager->Execute('ALTER TABLE `Member` ADD `Action` ENUM( "add", "modify", "remove" ) NULL');
     1802  $Manager->Execute('ALTER TABLE `Member` ADD `ChangeTime` DATETIME NULL');
     1803  $Manager->Execute('ALTER TABLE `Member` ADD `ReplaceId` `ChangeReplaceId` INT(11) NULL DEFAULT NULL;');
     1804  $Manager->Execute('ALTER TABLE `Member` ADD FOREIGN KEY (`ChangeReplaceId`) REFERENCES `Member`(`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;');
    17951805}
    17961806
     
    18761886      768 => array('Revision' => 770, 'Function' => 'UpdateTo770'),
    18771887      770 => array('Revision' => 785, 'Function' => 'UpdateTo785'),
     1888      775 => array('Revision' => 786, 'Function' => 'UpdateTo786'),
    18781889    ));
    18791890  }
Note: See TracChangeset for help on using the changeset viewer.