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