Changeset 591
- Timestamp:
- Nov 2, 2013, 3:54:49 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Version.php
r589 r591 1 1 <?php 2 2 3 $Revision = 5 89; // Subversion revision4 $DatabaseRevision = 5 84; // SQL structure revision5 $ReleaseTime = '2013-11-0 1';3 $Revision = 591; // Subversion revision 4 $DatabaseRevision = 591; // SQL structure revision 5 $ReleaseTime = '2013-11-02'; -
trunk/FormClasses.php
r588 r591 701 701 'Filter' => '1', 702 702 ), 703 'TStockItemListStockItem' => array( 704 'Type' => 'ManyToOne', 705 'Table' => 'StockItem', 706 'Id' => 'Id', 707 'Ref' => 'Esemble', 708 'Filter' => '1', 709 ), 703 710 ); 704 711 } -
trunk/Modules/Setup/Updates.php
r590 r591 441 441 } 442 442 443 function UpdateTo591($Manager) 444 { 445 $Manager->Execute('ALTER TABLE `StockItem` ADD `Esemble` INT NULL , 446 ADD INDEX ( `Esemble` ) ;'); 447 $Manager->Execute('ALTER TABLE `StockItem` ADD FOREIGN KEY ( `Esemble` ) REFERENCES StockItem` ( 448 `Id`) ON DELETE RESTRICT ON UPDATE RESTRICT ;'); 449 } 450 443 451 class Updates 444 452 { … … 468 476 571 => array('Revision' => 574, 'Function' => 'UpdateTo574'), 469 477 574 => array('Revision' => 584, 'Function' => 'UpdateTo584'), 478 584 => array('Revision' => 591, 'Function' => 'UpdateTo591'), 470 479 )); 471 480 } -
trunk/Modules/Stock/Stock.php
r586 r591 50 50 'Segment' => array('Type' => 'TNetworkSegment', 'Caption' => 'Úsek sítě', 'Default' => '', 'Null' => true), 51 51 'Info' => array('Type' => 'Text', 'Caption' => 'Informace', 'Default' => ''), 52 'Esemble' => array('Type' => 'TStockItem', 'Caption' => 'Celek', 'Default' => ''), 53 'Parts' => array('Type' => 'TStockItemListStockItem', 'Caption' => 'Části', 'Default' => ''), 52 54 ), 53 55 ));
Note:
See TracChangeset
for help on using the changeset viewer.