X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5ff9f2d21c82a9ebe06be748a37de764d0861514..0bc9ede6ffd81d4aa2237d066d64cdb5e901fec4:/db/migrate/057_add_map_bug_comment_event.rb
diff --git a/db/migrate/057_add_map_bug_comment_event.rb b/db/migrate/057_add_map_bug_comment_event.rb
index c13c1f9d5..c88544099 100644
--- a/db/migrate/057_add_map_bug_comment_event.rb
+++ b/db/migrate/057_add_map_bug_comment_event.rb
@@ -1,8 +1,6 @@
-require 'lib/migrate'
-
-class AddMapBugCommentEvent < ActiveRecord::Migration
+class AddMapBugCommentEvent < ActiveRecord::Migration[4.2]
   def self.up
-    create_enumeration :map_bug_event_enum, ["opened", "closed", "reopened", "commented", "hidden"]
+    create_enumeration :map_bug_event_enum, %w[opened closed reopened commented hidden]
 
     add_column :map_bug_comment, :event, :map_bug_event_enum
   end