]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/055_change_map_bug_comment_type.rb
Merge remote-tracking branch 'upstream/pull/2439'
[rails.git] / db / migrate / 055_change_map_bug_comment_type.rb
index bf009c3dd2721443d9cf4719bfe70558b2eae08a..c206325fab3dc0d675a0e976357bddf51c5c2242 100644 (file)
@@ -1,11 +1,11 @@
-require 'lib/migrate'
+require "migrate"
 
-class ChangeMapBugCommentType < ActiveRecord::Migration
+class ChangeMapBugCommentType < ActiveRecord::Migration[4.2]
   def self.up
-       change_column :map_bug_comment, :comment, :text
+    change_column :map_bug_comment, :comment, :text
   end
 
   def self.down
-       change_column :map_bug_comment, :comment, :string
+    change_column :map_bug_comment, :comment, :string
   end
 end