]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/029_add_user_foreign_keys.rb
Enable focus styling for leaflet control buttons
[rails.git] / db / migrate / 029_add_user_foreign_keys.rb
index 5d3532c72dfd7a976a0495d2e0f5cb1394988fce..33ba25721c380f4ef4b4236d12ea5cc671cec784 100644 (file)
@@ -1,6 +1,4 @@
-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"
   def change
     add_foreign_key :changesets, :users, :name => "changesets_user_id_fkey"
     add_foreign_key :diary_comments, :users, :name => "diary_comments_user_id_fkey"