Retrospring/db/migrate/20150420232305_create_subsc...

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

11 lines
237 B
Ruby
Raw Normal View History

class CreateSubscriptions < ActiveRecord::Migration[4.2]
2015-04-20 18:12:11 -07:00
def change
create_table :subscriptions do |t|
t.integer :user_id, null: false
t.integer :answer_id, null: false
t.timestamps null: false
end
end
end