Retrospring/db/migrate/20141110210154_create_inbox...

12 lines
205 B
Ruby
Raw Normal View History

2014-11-10 14:45:36 -08:00
class CreateInboxes < ActiveRecord::Migration
def change
create_table :inboxes do |t|
t.integer :user_id
t.integer :question_id
t.boolean :new
t.timestamps
end
end
end