]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/029_add_user_foreign_keys.rb
When overriding setup make sure to call the superclass
[rails.git] / db / migrate / 029_add_user_foreign_keys.rb
index 224d589a876fa8b322842f46669fdeba3f1f5702..d91b9a17e260eb4b4f3ad33a354a928a3a8b2e67 100644 (file)
@@ -1,6 +1,6 @@
 require "migrate"
 
-class AddUserForeignKeys < ActiveRecord::Migration
+class AddUserForeignKeys < ActiveRecord::Migration[4.2]
   def change
     add_foreign_key :changesets, :users, :name => "changesets_user_id_fkey"
     add_foreign_key :diary_comments, :users, :name => "diary_comments_user_id_fkey"