]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20110521142405_rename_bugs_to_notes.rb
Rename 'issue_type' to 'assigned_role', set defaults in the model and test.
[rails.git] / db / migrate / 20110521142405_rename_bugs_to_notes.rb
index 5b9933e04cb5edef97b52ba573aa0ac43fa67451..a22041a29042280589fdf3ee081560505a76371e 100644 (file)
@@ -1,6 +1,6 @@
-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"