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

13 lines
254 B
Ruby
Executable File

class CreateOffers < ActiveRecord::Migration
def change
create_table :offers do |t|
t.timestamps null: false
t.float :price
t.float :fee_percentage
t.references :need, index: true
t.string :supplier
end
end
end