]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/055_change_map_bug_comment_type.rb
Update to rails 6.0.3.7
[rails.git] / db / migrate / 055_change_map_bug_comment_type.rb
index bf009c3dd2721443d9cf4719bfe70558b2eae08a..1fab93b442b5ee8171f4f221f027e4cb283bf85b 100644 (file)
@@ -1,11 +1,9 @@
-require 'lib/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