diff --git a/video.install b/video.install
index 4224cb5..9058206 100644
--- a/video.install
+++ b/video.install
@@ -184,7 +184,8 @@ function video_schema() {
       ),
       'job_id' => array(
         'description' => 'Referenced job id if any.',
-        'type' => 'int',
+        'type' => 'varchar',
+        'length' => 256,
         'not null' => FALSE,
         'default' => NULL,
       ),
@@ -724,3 +725,22 @@ function video_update_7210(&$sandbox) {
   );
   db_add_field('video_queue', 'statusupdated', $new_field);
 }
+
+/**
+ * Alter video_output table to change job_id type form int to varchar.
+ */
+function video_update_7211(&$sandbox) {
+  $ret = array();
+  // Check because D7 2.x installs may already have added this.
+  if (db_field_exists('video_output', 'job_id')) {
+    db_change_field('video_output', 'job_id', 'job_id', array(
+      'description' => 'Referenced job id if any.',
+      'type' => 'varchar',
+      'length' => 256,
+      'not null' => FALSE,
+      'default' => NULL,
+    ));
+  }
+
+  return $ret;
+}
