X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a63b22a9af59e9b82239a1abcda6106bc835c681..1b288d40c7fff3d3be8d82d4e96c9008778f4dba:/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 f28aee7d8..087d0f692 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 '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_enum :map_bug_event_enum, %w[opened closed reopened commented hidden] add_column :map_bug_comment, :event, :map_bug_event_enum end