From: Kai Krueger Date: Sun, 7 Mar 2010 19:09:32 +0000 (+0000) Subject: Change comment type from varchar(255) to text X-Git-Tag: live~5052^2~232 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/dde903853933c7a34438dfe4ec78e186ad52e449?hp=09895069c5508d5e656d938166f45755cceb7d35 Change comment type from varchar(255) to text Some bug comments in the current OSB have more than 255 characters, so the format needs to be extended to accomodate --- diff --git a/db/migrate/052_change_map_bug_comment_type.rb b/db/migrate/052_change_map_bug_comment_type.rb new file mode 100644 index 000000000..bf009c3dd --- /dev/null +++ b/db/migrate/052_change_map_bug_comment_type.rb @@ -0,0 +1,11 @@ +require 'lib/migrate' + +class ChangeMapBugCommentType < ActiveRecord::Migration + def self.up + change_column :map_bug_comment, :comment, :text + end + + def self.down + change_column :map_bug_comment, :comment, :string + end +end