X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/effb1b7f4170bb7244c4dfffcbe6134fe00e2bc4..0425aeebbcf511b6b3627c5a3ba8f5066c80660b:/db/migrate/057_add_map_bug_comment_event.rb diff --git a/db/migrate/057_add_map_bug_comment_event.rb b/db/migrate/057_add_map_bug_comment_event.rb index 0d1a2c8ab..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[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