negos_app/db/migrate/20160215170354_accepted_offers.rb
2016-02-16 21:09:48 +01:00

14 lines
300 B
Ruby
Executable File

class AcceptedOffers < ActiveRecord::Migration
def change
create_table :accepted_offers do |t|
t.timestamps null: false
t.references :offer, index: true
t.references :customer, index: true
t.string :devis, default: nil
t.string :state, :string
end
end
end