saruman_87 May 17th, 2020 762 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- class AddUserToQuestion < ActiveRecord::Migration[6.0]
- def change
- add_reference :questions, :user, null: false, foreign_key: true
RAW Paste Data