Ignore:
Timestamp:
Jul 22, 2014, 10:25:19 PM (10 years ago)
Author:
chronos
Message:
  • Přidáno: U záznamu signálu také zapisovat, ze kterého zařízení se měřilo.
File:
1 edited

Legend:

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

    r674 r676  
    840840}
    841841
     842function UpdateTo676($Manager)
     843{
     844  $Manager->Execute('ALTER TABLE `NetworkSignal` ADD `Device` INT NULL ,
     845ADD INDEX ( `Device` ) ;');
     846  $Manager->Execute('ALTER TABLE `NetworkSignal` ADD FOREIGN KEY ( `Device` ) REFERENCES `centrala_big`.`NetworkDevice` (
     847`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT ;');
     848}
     849
    842850class Updates
    843851{
     
    885893      668 => array('Revision' => 671, 'Function' => 'UpdateTo671'),
    886894      671 => array('Revision' => 674, 'Function' => 'UpdateTo674'),
     895      674 => array('Revision' => 676, 'Function' => 'UpdateTo676'),
    887896    ));
    888897  }
Note: See TracChangeset for help on using the changeset viewer.