class CreateSubscriptions < ActiveRecord::Migration
def change
create_table :subscriptions do |t|
t.integer :user_id, null: false
t.integer :answer_id, null: false
t.timestamps null: false
end