20180119161200_add_school_id_to_users.rb 132 B

12345
  1. class AddSchoolIdToUsers < ActiveRecord::Migration[5.1]
  2. def change
  3. add_reference :users, :school, foreign_key: true
  4. end
  5. end