1 class AddMapBugCommentEvent < ActiveRecord::Migration[4.2]
3 create_enum :map_bug_event_enum, %w[opened closed reopened commented hidden]
5 add_column :map_bug_comment, :event, :map_bug_event_enum
9 remove_column :map_bug_comment, :event
11 drop_enumeration :map_bug_event_enum