4523: set description size back to 2**19
authorRadhika Chippada <radhika@curoverse.com>
Tue, 6 Jan 2015 01:05:10 +0000 (20:05 -0500)
committerRadhika Chippada <radhika@curoverse.com>
Tue, 6 Jan 2015 01:05:10 +0000 (20:05 -0500)
services/api/db/migrate/20141208174553_descriptions_are_strings.rb
services/api/db/structure.sql

index 3c21755dc0dfa3d141d1ff964da46fe8175f8fd0..412b427c72e03a0d8ffb9063b6c9284ee33c13cf 100644 (file)
@@ -5,7 +5,7 @@ class DescriptionsAreStrings < ActiveRecord::Migration
 
   def up
     tables_with_description_column.each do |table|
-      change_column table.to_sym, :description, :string, :limit => 2**17
+      change_column table.to_sym, :description, :string, :limit => 2**19
     end
   end
 
index 2cf8473527fff35c49974fc66a09b97607ac7262..194c1113e86a41e9066cce7767be3bace335ce25 100644 (file)
@@ -167,7 +167,7 @@ CREATE TABLE collections (
     uuid character varying(255),
     manifest_text text,
     name character varying(255),
-    description character varying(131072),
+    description character varying(524288),
     properties text,
     expires_at date
 );
@@ -272,7 +272,7 @@ CREATE TABLE groups (
     modified_by_user_uuid character varying(255),
     modified_at timestamp without time zone,
     name character varying(255) NOT NULL,
-    description character varying(131072),
+    description character varying(524288),
     updated_at timestamp without time zone NOT NULL,
     group_class character varying(255)
 );
@@ -431,7 +431,7 @@ CREATE TABLE jobs (
     supplied_script_version character varying(255),
     docker_image_locator character varying(255),
     priority integer DEFAULT 0 NOT NULL,
-    description character varying(131072),
+    description character varying(524288),
     state character varying(255),
     arvados_sdk_version character varying(255)
 );
@@ -685,7 +685,7 @@ CREATE TABLE pipeline_instances (
     properties text,
     state character varying(255),
     components_summary text,
-    description character varying(131072),
+    description character varying(524288),
     started_at timestamp without time zone,
     finished_at timestamp without time zone
 );
@@ -725,7 +725,7 @@ CREATE TABLE pipeline_templates (
     name character varying(255),
     components text,
     updated_at timestamp without time zone NOT NULL,
-    description character varying(131072)
+    description character varying(524288)
 );