Sha256: 2473107d26b29205a9b0afa6c8fa20820ba45836fb4844ffb03aa710c9a49e2a
Contents?: true
Size: 233 Bytes
Versions: 45
Compression:
Stored size: 233 Bytes
Contents
class AddNamedConsultantToPatients < ActiveRecord::Migration[5.2] def change add_reference( :patients, :named_consultant, foreign_key: { to_table: :users }, index: true, null: true ) end end
Version data entries
45 entries across 45 versions & 1 rubygems