--- votingapi.install-orig	2007-04-19 18:56:47.000000000 +1000
+++ votingapi.install	2007-04-19 18:57:17.000000000 +1000
@@ -271,6 +271,16 @@
   return $ret;
 }
 
+
+function votingapi_update_10() {
+  $ret[] = update_sql("ALTER TABLE {votingapi_vote} CHANGE `content_type` `content_type` VARCHAR( 50 )");
+  $ret[] = update_sql("ALTER TABLE {votingapi_cache} CHANGE `content_type` `content_type` VARCHAR( 50 )");
+  $ret[] = update_sql("ALTER TABLE {votingapi_action_set} CHANGE `content_type` `content_type` VARCHAR( 50 )");
+
+  return $ret;
+}
+       
+       
 function votingapi_uninstall() {
   db_query("DROP TABLE {votingapi_vote}");
   db_query("DROP TABLE {votingapi_cache}");
