2014-02-27 11:13:53 +00:00
|
|
|
class CreateContracts < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
create_table :contracts do |t|
|
|
|
|
t.integer :user_id
|
2014-03-03 02:06:39 +00:00
|
|
|
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
|