]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/055_change_map_bug_comment_type.rb
Merge branch 'master' into openstreetbugs
[rails.git] / db / migrate / 055_change_map_bug_comment_type.rb
diff --git a/db/migrate/055_change_map_bug_comment_type.rb b/db/migrate/055_change_map_bug_comment_type.rb
new file mode 100644 (file)
index 0000000..bf009c3
--- /dev/null
@@ -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