X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4d91fe3dd95c1058cb8d24fd4c900223e30b9059..d85621c7aea365b1548d5301af292528dd8b329d:/db/migrate/057_add_map_bug_comment_event.rb?ds=sidebyside diff --git a/db/migrate/057_add_map_bug_comment_event.rb b/db/migrate/057_add_map_bug_comment_event.rb index c13c1f9d5..6ba2b5a76 100644 --- a/db/migrate/057_add_map_bug_comment_event.rb +++ b/db/migrate/057_add_map_bug_comment_event.rb @@ -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