SHARE
TWEET

Untitled

saruman_87 May 17th, 2020 762 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class AddUserToQuestion < ActiveRecord::Migration[6.0]
  2.   def change
  3.     add_reference :questions, :user, null: false, foreign_key: true
  4.   end
  5. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top