3 class AddMapBugCommentEvent < ActiveRecord::Migration
5 create_enumeration :map_bug_event_enum, ["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