retrospring/db/migrate/20141110210154_create_inboxes.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
241 B
Ruby
Raw Permalink Normal View History

2023-10-20 01:37:34 +02:00
# frozen_string_literal: true
class CreateInboxes < ActiveRecord::Migration[4.2]
2014-11-10 23:45:36 +01:00
def change
create_table :inboxes do |t|
t.integer :user_id
t.integer :question_id
t.boolean :new
t.timestamps
end
end
end