bigdir/db/migrate/20130725122407_create_bids.rb

14 lines
247 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class CreateBids < ActiveRecord::Migration
def change
create_table :bids do |t|
t.string :name
t.integer :budget
t.integer :author_id
t.date :deadline
t.string :description
t.timestamps
end
end
end