mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:29:52 +01:00
10 lines
237 B
Ruby
10 lines
237 B
Ruby
class CreateSubscriptions < ActiveRecord::Migration[4.2]
|
|
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
|