Adding contracts
This commit is contained in:
16
db/migrate/20140227095847_create_contracts.rb
Normal file
16
db/migrate/20140227095847_create_contracts.rb
Normal file
@@ -0,0 +1,16 @@
|
||||
class CreateContracts < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :contracts do |t|
|
||||
t.integer :user_id
|
||||
t.datetime :first_name
|
||||
t.datetime :last_name
|
||||
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
|
||||
Reference in New Issue
Block a user