]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20110508145337_cleanup_bug_tables.rb
Avoid using live models in old migrations
[rails.git] / db / migrate / 20110508145337_cleanup_bug_tables.rb
index e7dfcb793b3bac00e5f198d38436ff3fd70c7de0..763b456a9c9b6b814368cb6ce9ce76c9f13b9644 100644 (file)
@@ -1,4 +1,4 @@
-class CleanupBugTables < ActiveRecord::Migration
+class CleanupBugTables < ActiveRecord::Migration[4.2]
   def self.up
     rename_column :map_bugs, :date_created, :created_at
     rename_column :map_bugs, :last_changed, :updated_at