]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/057_add_map_bug_comment_event.rb
Fix most auto-correctable rubocop issues
[rails.git] / db / migrate / 057_add_map_bug_comment_event.rb
index c13c1f9d514bf5e025f2bce5671888c73e2ba19a..98e64599e26c9e09b78198f43e92a4875d19ba35 100644 (file)
@@ -1,8 +1,8 @@
-require 'lib/migrate'
+require 'migrate'
 
 class AddMapBugCommentEvent < ActiveRecord::Migration
   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