Ignore:
Timestamp:
Jan 1, 2015, 2:18:20 PM (10 years ago)
Author:
chronos
Message:
  • Removed: Unused table NetworkSegment which was previously used to compute exact member participation on device and consumption payment. Now consumption is handled with customer Service table.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Setup/Updates.php

    r710 r715  
    993993      "VALUES (NULL , 'SkladovĂ© pohyby', ".$DbRow['Id'].", '".$ActionId."', '1');");
    994994  }
     995}
     996
     997function UpdateTo715($Manager)
     998{
     999        $Manager->Execute('ALTER TABLE `StockSerialNumber` DROP FOREIGN KEY `StockSerialNumber_ibfk_6`;');
     1000        $Manager->Execute('ALTER TABLE `StockSerialNumber` DROP `Segment`');
     1001        $Manager->Execute('ALTER TABLE `Member` DROP `NetworkSegment`');
     1002        $Manager->Execute('DROP TABLE `NetworkSegment`');
    9951003}
    9961004
     
    10481056      696 => array('Revision' => 697, 'Function' => 'UpdateTo697'),
    10491057      697 => array('Revision' => 707, 'Function' => 'UpdateTo707'),
    1050       707 => array('Revision' => 710, 'Function' => 'UpdateTo710'),
     1058      710 => array('Revision' => 715, 'Function' => 'UpdateTo715'),
    10511059    ));
    10521060  }
Note: See TracChangeset for help on using the changeset viewer.