Index: l10n_community/l10n_community.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_server/l10n_community/Attic/l10n_community.install,v
retrieving revision 1.1.2.11.2.15.2.7
diff -u -p -r1.1.2.11.2.15.2.7 l10n_community.install
--- l10n_community/l10n_community.install	31 Mar 2010 13:53:00 -0000	1.1.2.11.2.15.2.7
+++ l10n_community/l10n_community.install	7 May 2010 14:13:53 -0000
@@ -360,10 +360,21 @@ function l10n_community_update_6016() {
     $enable = TRUE;
     db_query("UPDATE {l10n_server_project} SET connector_module = 'l10n_drupal_drupalorg' WHERE connector_module = 'l10n_project'");
   }
-  
+
   if ($enable) {
     module_enable('l10n_drupal');
   }
 
   return $ret;
 }
+
+/**
+ * Fix previously faulty l10n_community_update_6010() column addition.
+ */
+function l10n_community_update_6017() {
+  $ret = array();
+  db_drop_unique_key($ret, 'l10n_server_string', 'hashkey');
+  db_change_field($ret, 'l10n_server_string', 'hashkey', 'hashkey', array('type' => 'char', 'not null' => TRUE, 'length' => 32));
+  db_add_unique_key($ret, 'l10n_server_string', 'hashkey', array('hashkey'));
+  return $ret;
+}
