diff --git a/uc_cart/uc_cart.install b/uc_cart/uc_cart.install
index 7f53735..3e71d3b 100644
--- a/uc_cart/uc_cart.install
+++ b/uc_cart/uc_cart.install
@@ -37,7 +37,6 @@ function uc_cart_schema() {
       'qty' => array(
         'description' => 'The number of this product in the cart.',
         'type' => 'int',
-        'size' => 'small',
         'unsigned' => TRUE,
         'not null' => TRUE,
         'default' => 0,
@@ -191,3 +190,20 @@ function uc_cart_update_6202() {
 
   return $ret;
 }
+
+/**
+ * Increase maximum cart item quantity.
+ */
+function uc_cart_update_6203() {
+  $ret = array();
+
+  db_change_field($ret, 'uc_cart_products', 'qty', 'qty', array(
+    'description' => 'The number of this product in the cart.',
+    'type' => 'int',
+    'unsigned' => TRUE,
+    'not null' => TRUE,
+    'default' => 0,
+   ));
+
+  return $ret;
+}
diff --git a/uc_order/uc_order.install b/uc_order/uc_order.install
index 69aaf32..da0de7a 100644
--- a/uc_order/uc_order.install
+++ b/uc_order/uc_order.install
@@ -484,7 +484,6 @@ function uc_order_schema() {
       'qty' => array(
         'description' => 'The number of the same product ordered.',
         'type' => 'int',
-        'size' => 'small',
         'unsigned' => TRUE,
         'not null' => TRUE,
         'default' => 0,
@@ -1070,3 +1069,20 @@ function uc_order_update_6019() {
 
   return $ret;
 }
+
+/**
+ * Increase maximum order item quantity.
+ */
+function uc_cart_update_6020() {
+  $ret = array();
+
+  db_change_field($ret, 'uc_order_products', 'qty', 'qty', array(
+    'description' => 'The number of the same product ordered.',
+    'type' => 'int',
+    'unsigned' => TRUE,
+    'not null' => TRUE,
+    'default' => 0,
+   ));
+
+  return $ret;
+}
