Ignore:
Timestamp:
Feb 22, 2016, 11:22:57 PM (9 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UpdateTrace.php

    r800 r801  
    18211821  }
    18221822  $Manager->Execute('ALTER TABLE `Contract` DROP `BillCodeText`;');
    1823   $Manager->Execute('ALTER TABLE `StockSerialNumber` DROP `Info`;');
    18241823}
    18251824
     
    18371836    'REFERENCES `StockSerialNumber`(`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;');
    18381837  $Manager->Execute('INSERT INTO `StockItemHistory` (SELECT NULL AS `Id`, `Id` AS `StockSerialNumber`, '.
    1839     '"" AS `Time`, `Info` AS `Text` FROM `StockSerialNumber`)');
     1838    '"" AS `Time`, `Info` AS `Text` FROM `StockSerialNumber` WHERE `Info` != "")');
     1839  $Manager->Execute('ALTER TABLE `StockSerialNumber` DROP `Info`;');
    18401840}
    18411841
Note: See TracChangeset for help on using the changeset viewer.