]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/030_add_foreign_keys.rb
Merge remote-tracking branch 'upstream/pull/5374'
[rails.git] / db / migrate / 030_add_foreign_keys.rb
index 02d9813bd1fa1d586b3b7e6e4d38fd09236b83ac..ded44d77216b81be4afe7c5293964646cd557b58 100644 (file)
@@ -1,6 +1,4 @@
-require "migrate"
-
-class AddForeignKeys < ActiveRecord::Migration
+class AddForeignKeys < ActiveRecord::Migration[4.2]
   def self.up
     add_foreign_key :changeset_tags, :changesets, :column => :id, :name => "changeset_tags_id_fkey"
     add_foreign_key :diary_comments, :diary_entries, :name => "diary_comments_diary_entry_id_fkey"