mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:19:52 +01:00
11 lines
210 B
Ruby
11 lines
210 B
Ruby
class CreateInboxes < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :inboxes do |t|
|
|
t.integer :user_id
|
|
t.integer :question_id
|
|
t.boolean :new
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|