-require 'migrate'
+require "migrate"
-class RenameBugsToNotes < ActiveRecord::Migration
+class RenameBugsToNotes < ActiveRecord::Migration[5.0]
def self.up
rename_enumeration "map_bug_status_enum", "note_status_enum"
rename_enumeration "map_bug_event_enum", "note_event_enum"