bigdir/db/migrate/20130725122407_create_bids.rb

14 lines
247 B
Ruby

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