X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7f598ab412674ce5a78da98c54aa2fe2e4a05792..d46b68def45bf6d79b8b052e960b44b941cd2d4d:/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 f28aee7d8..d5e77f499 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 '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