Changeset 803 for trunk/Application


Ignore:
Timestamp:
Feb 23, 2016, 7:18:38 PM (9 years ago)
Author:
chronos
Message:
Location:
trunk/Application
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UpdateTrace.php

    r802 r803  
    18871887  $Manager->Execute('ALTER TABLE `StockMove` DROP `BillCodeText`;');
    18881888  $Manager->Execute('ALTER TABLE `StockMoveItem` DROP `Text`;');
     1889}
     1890
     1891function UpdateTo803($Manager)
     1892{
     1893  $Manager->Execute('CREATE TABLE IF NOT EXISTS `StockMoveItemSerialRel` (
     1894  `Id` int(11) NOT NULL,
     1895  `StockMoveItem` int(11) NOT NULL,
     1896  `StockSerialNumber` int(11) NOT NULL,
     1897  PRIMARY KEY (`Id`),
     1898  KEY `StockSerialNumber` (`StockSerialNumber`),
     1899  KEY `StockMoveItem` (`StockMoveItem`)
     1900) ENGINE=InnoDB DEFAULT CHARSET=utf8;');
     1901  $Manager->Execute('ALTER TABLE `StockMoveItemSerialRel` ADD FOREIGN KEY (`StockMoveItem`) '.
     1902    'REFERENCES `StockMoveItem`(`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;');
     1903  $Manager->Execute('ALTER TABLE `StockMoveItemSerialRel` ADD FOREIGN KEY (`StockSerialNumber`) '.
     1904    'REFERENCES `StockSerialNumber`(`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;');
    18891905}
    18901906
     
    19741990      792 => array('Revision' => 800, 'Function' => 'UpdateTo800'),
    19751991      800 => array('Revision' => 802, 'Function' => 'UpdateTo802'),
     1992      802 => array('Revision' => 803, 'Function' => 'UpdateTo803'),
    19761993    ));
    19771994  }
  • trunk/Application/Version.php

    r802 r803  
    11<?php
    22
    3 $Revision = 802; // Subversion revision
    4 $DatabaseRevision = 802; // SQL structure revision
     3$Revision = 803; // Subversion revision
     4$DatabaseRevision = 803; // SQL structure revision
    55$ReleaseTime = strtotime('2016-02-23');
Note: See TracChangeset for help on using the changeset viewer.