-require 'migrate'
+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"