Page MenuHomeGRNET

20151122124400_add_verify_details_to_hosts.rb
No OneTemporary

File Metadata

Created
Fri, Aug 29, 9:41 PM

20151122124400_add_verify_details_to_hosts.rb

class AddVerifyDetailsToHosts < ActiveRecord::Migration
def connection
ActiveRecord::Base.establish_connection(Baas::settings[:local_db]).connection
end
def up
add_column :hosts, :verified_at, :datetime
add_column :hosts, :verifier_id, :integer
end
def down
remove_column :hosts, :verified_at
remove_column :hosts, :verifier_id
end
end

Event Timeline