--- notify.install	2008-02-04 07:45:35.000000000 +0100
+++ notify.install.new	2008-02-04 07:45:25.000000000 +0100
@@ -77,3 +77,23 @@ function notify_update_2() {
   drupal_set_message(t('The settings page for the notify.module is now to be found in Administer > Site configuration > Notification settings.'));
   return $ret;
 }
+
+/**
+ * Adding the taxonomy column
+ */
+function notify_update_3() {
+  $ret = array();
+  
+  switch ($GLOBALS['db_type']) {
+    case 'mysql':
+    case 'mysqli':
+      $ret[] = update_sql("ALTER TABLE {notify} ADD COLUMN taxonomy text NOT NULL");
+      break;
+      
+    case 'pgsql':
+      db_add_column($ret, 'notify', 'taxonomy', 'text', array('not null' => TRUE));
+      break;
+  }
+  
+  return $ret;
+}
