X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..5310c7000c232cd48f48fe473beeca7f4ff02b53:/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 98e64599e..0d1a2c8ab 100644 --- a/db/migrate/057_add_map_bug_comment_event.rb +++ b/db/migrate/057_add_map_bug_comment_event.rb @@ -1,8 +1,8 @@ -require 'migrate' +require "migrate" -class AddMapBugCommentEvent < ActiveRecord::Migration +class AddMapBugCommentEvent < ActiveRecord::Migration[5.0] def self.up - create_enumeration :map_bug_event_enum, %w(opened closed reopened commented hidden) + create_enumeration :map_bug_event_enum, %w[opened closed reopened commented hidden] add_column :map_bug_comment, :event, :map_bug_event_enum end