Open-Source-Access-Control-.../db/migrate/20140227095847_create_contracts.rb

17 lines
395 B
Ruby
Raw Normal View History

2014-02-27 11:13:53 +00:00
class CreateContracts < ActiveRecord::Migration
def change
create_table :contracts do |t|
t.integer :user_id
t.string :first_name
t.string :last_name
2014-02-27 11:13:53 +00:00
t.datetime :signed_at
t.string :document_file_name
t.string :document_content_type
t.integer :document_file_size
t.datetime :document_updated_at
t.timestamps
end
end
end