+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
class DescriptionsAreStrings < ActiveRecord::Migration
def tables_with_description_column
%w{collections groups jobs pipeline_instances pipeline_templates}
def up
tables_with_description_column.each do |table|
- change_column table.to_sym, :description, :string, :limit => 10000
+ change_column table.to_sym, :description, :string, :limit => 2**19
end
end