]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/055_change_map_bug_comment_type.rb
Add rails version number to migrations
[rails.git] / db / migrate / 055_change_map_bug_comment_type.rb
index bf009c3dd2721443d9cf4719bfe70558b2eae08a..6b84076237b7d6c23e0a95953315d163969c4197 100644 (file)
@@ -1,11 +1,11 @@
-require 'lib/migrate'
+require "migrate"
 
-class ChangeMapBugCommentType < ActiveRecord::Migration
+class ChangeMapBugCommentType < ActiveRecord::Migration[5.0]
   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