Index: boost/boost.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.install,v
retrieving revision 1.2.2.1.2.3.2.79
diff -u -r1.2.2.1.2.3.2.79 boost.install
--- boost/boost.install	11 Dec 2009 04:52:49 -0000	1.2.2.1.2.3.2.79
+++ boost/boost.install	21 Dec 2009 03:50:00 -0000
@@ -444,7 +444,6 @@
         'type' => 'text',
         'size' => 'normal',
         'not null' => TRUE,
-        'default' => '',
       ),
       'base_dir' => array(
         'description' => 'Path of the cache root dir relative to Drupal webroot.',
@@ -526,7 +525,6 @@
         'type' => 'text',
         'size' => 'normal',
         'not null' => TRUE,
-        'default' => '',
       ),
     ),
     'indexes' => array(
@@ -630,7 +628,6 @@
         'type' => 'text',
         'size' => 'normal',
         'not null' => TRUE,
-        'default' => '',
       ),
     ),
     'primary key' => array('id'),
@@ -1375,3 +1372,29 @@
   ini_set('max_execution_time', $GLOBALS['_boost_max_execution_time']);
   return $ret;
 }
+
+/**
+ * Update 6122 - Remove default value for all text columns.
+ */
+function boost_update_6122() {
+  $ret = array();
+  db_change_field($ret, 'boost_cache', 'filename', 'filename', array(
+        'description' => 'URL of cached page',
+        'type' => 'text',
+        'size' => 'normal',
+        'not null' => TRUE,
+      ));
+  db_change_field($ret, 'boost_cache', 'url', 'url', array(
+        'description' => 'URL of cached page',
+        'type' => 'text',
+        'size' => 'normal',
+        'not null' => TRUE,
+      ));
+  db_change_field($ret, 'boost_crawler', 'url', 'url', array(
+        'description' => 'URL of page',
+        'type' => 'text',
+        'size' => 'normal',
+        'not null' => TRUE,
+      ));
+  return $ret;
+}

