X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..9fc2a5c4e9c2d0bc7df5493b5b74345992aa9dfa:/db/migrate/029_add_user_foreign_keys.rb?ds=sidebyside diff --git a/db/migrate/029_add_user_foreign_keys.rb b/db/migrate/029_add_user_foreign_keys.rb index 84771f826..33ba25721 100644 --- a/db/migrate/029_add_user_foreign_keys.rb +++ b/db/migrate/029_add_user_foreign_keys.rb @@ -1,6 +1,4 @@ -require "migrate" - -class AddUserForeignKeys < ActiveRecord::Migration[5.0] +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"