[-] SQL : removed unsigned from product stock quantity field

This commit is contained in:
tDidierjean
2011-04-15 15:42:12 +00:00
parent 3d89d128cf
commit d8ba3119b1
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -896,7 +896,7 @@ CREATE TABLE `PREFIX_order_detail` (
`product_attribute_id` int(10) unsigned default NULL,
`product_name` varchar(255) NOT NULL,
`product_quantity` int(10) unsigned NOT NULL default '0',
`product_quantity_in_stock` int(10) unsigned NOT NULL default 0,
`product_quantity_in_stock` int(10) NOT NULL default 0,
`product_quantity_refunded` int(10) unsigned NOT NULL default '0',
`product_quantity_return` int(10) unsigned NOT NULL default '0',
`product_quantity_reinjected` int(10) unsigned NOT NULL default 0,
+2
View File
@@ -23,5 +23,7 @@ ALTER TABLE `PREFIX_connections` CHANGE `ip_address` `ip_address` BIGINT NULL DE
UPDATE `PREFIX_meta_lang`
SET `title` = 'Angebote', `keywords` = 'besonders, Angebote', `url_rewrite` = 'angebote' WHERE url_rewrite = 'preise-fallen';
ALTER TABLE `PREFIX_order_detail`
CHANGE `product_quantity_in_stock` `product_quantity_in_stock` INT(10) NOT NULL DEFAULT '0';
/* PHP:alter_cms_block(); */;