-require "migrate"
-
-class AddMapBugCommentEvent < ActiveRecord::Migration[5.0]
+class AddMapBugCommentEvent < ActiveRecord::Migration[4.2]
def self.up
- create_enumeration :map_bug_event_enum, %w[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