Contract-Signer/db/migrate/20110926071131_create_contracts.rb

17 lines
295 B
Ruby
Raw Normal View History

2011-09-28 10:37:39 +00:00
class CreateContracts < ActiveRecord::Migration
def self.up
create_table :contracts do |t|
t.string :boilerplate
t.binary :signature
t.string :signinghash
t.datetime :datesigned
t.timestamps
end
end
def self.down
drop_table :contracts
end
end