negos_app/db/migrate/20160308112733_create_document.rb
2016-03-08 20:49:34 +01:00

14 lines
311 B
Ruby
Executable File

class CreateDocument < ActiveRecord::Migration
def change
create_table :documents do |t|
t.references :accepted_offer
t.datetime :deleted_at
t.string :title
t.string :state
t.string :document
t.string :returned_document
t.timestamps null: false
end
end
end