Contract-Signer/db/migrate/20110926071131_create_contracts.rb
2011-09-28 03:37:39 -07:00

17 lines
295 B
Ruby

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