From a99b66c70483102ebcd3ce3dc872b07bf8927d76 Mon Sep 17 00:00:00 2001
From: Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>
Date: Thu, 20 Apr 2006 16:34:31 +0000
Subject: [PATCH] #59596, update sets system.weight to unsigned, patch by Heine

---
 update.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update.php b/update.php
index d3b332926cc7..ff607cec193f 100644
--- a/update.php
+++ b/update.php
@@ -571,7 +571,7 @@ function update_fix_system_table() {
         break;
       case 'mysql':
       case 'mysqli':
-        $ret[] = update_sql("ALTER TABLE {system} ADD weight tinyint(3) unsigned default '0' NOT NULL, ADD KEY (weight)");
+        $ret[] = update_sql("ALTER TABLE {system} ADD weight tinyint(2) default '0' NOT NULL, ADD KEY (weight)");
         break;
     }
   }
-- 
GitLab