mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 22:19:07 +01:00
11 lines
232 B
Ruby
11 lines
232 B
Ruby
|
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
|
||
|
end
|
||
|
end
|