X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24b138db094e4b5e8d062c5248ee867967dc0fd7..57209683238197d4391103ba3ca4b295a70fbb0a:/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 ecdb967a1..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[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