Changeset 803 for trunk/Application
- Timestamp:
- Feb 23, 2016, 7:18:38 PM (9 years ago)
- Location:
- trunk/Application
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r802 r803 1887 1887 $Manager->Execute('ALTER TABLE `StockMove` DROP `BillCodeText`;'); 1888 1888 $Manager->Execute('ALTER TABLE `StockMoveItem` DROP `Text`;'); 1889 } 1890 1891 function 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;'); 1889 1905 } 1890 1906 … … 1974 1990 792 => array('Revision' => 800, 'Function' => 'UpdateTo800'), 1975 1991 800 => array('Revision' => 802, 'Function' => 'UpdateTo802'), 1992 802 => array('Revision' => 803, 'Function' => 'UpdateTo803'), 1976 1993 )); 1977 1994 } -
trunk/Application/Version.php
r802 r803 1 1 <?php 2 2 3 $Revision = 80 2; // Subversion revision4 $DatabaseRevision = 80 2; // SQL structure revision3 $Revision = 803; // Subversion revision 4 $DatabaseRevision = 803; // SQL structure revision 5 5 $ReleaseTime = strtotime('2016-02-23');
Note:
See TracChangeset
for help on using the changeset viewer.