-class AddContributorTermsToUser < ActiveRecord::Migration
+class AddContributorTermsToUser < ActiveRecord::Migration[5.0]
def self.up
add_column :users, :terms_agreed, :datetime
add_column :users, :consider_pd, :boolean, :null => false, :default => false