From dde903853933c7a34438dfe4ec78e186ad52e449 Mon Sep 17 00:00:00 2001 From: Kai Krueger Date: Sun, 7 Mar 2010 19:09:32 +0000 Subject: [PATCH] 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 --- db/migrate/052_change_map_bug_comment_type.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 db/migrate/052_change_map_bug_comment_type.rb 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 -- 2.43.2