--- system.install	2008-04-16 07:35:52.000000000 -0400
+++ system-new.install	2008-04-29 11:59:02.000000000 -0400
@@ -2861,6 +2861,21 @@ function system_update_7005() {
 }
 
 /**
+ * Convert boxes.bid from int to varchar.  Also makes blocks.delta the
+ * same length (128) for consistency.
+ */
+function system_update_7006() {
+  $ret = array();
+  db_drop_primary_key($ret, 'boxes');
+  db_change_field($ret, 'boxes', 'bid', 'bid',
+    array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
+    array('primary key' => array('bid')));
+  db_change_field($ret, 'blocks', 'delta', 'delta',
+    array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => 0));
+  return $ret;
+}
+
+/**
  * @} End of "defgroup updates-6.x-to-7.x"
  * The next series of updates should start at 8000.
  */
