Bug 4133 Amend kohastructure to reflect earlier patch
authorColin Campbell <colin.campbell@ptfs-europe.com>
Mon, 8 Feb 2010 16:33:55 +0000 (16:33 +0000)
committerGalen Charlton <gmcharlt@gmail.com>
Mon, 8 Feb 2010 16:47:05 +0000 (11:47 -0500)
updatedatebase is now setting aqorders.quantityreceived to NOT NULL
kohastructure needs bringing into line

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
installer/data/mysql/kohastructure.sql

index b700a17..b530724 100644 (file)
@@ -2492,7 +2492,7 @@ CREATE TABLE `aqorders` (
   `booksellerinvoicenumber` mediumtext,
   `freight` decimal(28,6) default NULL,
   `unitprice` decimal(28,6) default NULL,
-  `quantityreceived` smallint(6) default NULL,
+  `quantityreceived` smallint(6) NOT NULL default 0,
   `cancelledby` varchar(10) default NULL,
   `datecancellationprinted` date default NULL,
   `notes` mediumtext,