Sha256: 31fc3271f3efb3a2b1333c066f2f961e4da55c0db46fcbcbeddcbfaf8f54218b
Contents?: true
Size: 407 Bytes
Versions: 73
Compression:
Stored size: 407 Bytes
Contents
class AddDialysateIdToProfileAndSession < ActiveRecord::Migration[5.1] def change add_reference :hd_profiles, :dialysate, references: :hd_dialysates, index: true add_foreign_key :hd_profiles, :hd_dialysates, column: :dialysate_id add_reference :hd_sessions, :dialysate, references: :hd_dialysates, index: true add_foreign_key :hd_sessions, :hd_dialysates, column: :dialysate_id end end
Version data entries
73 entries across 73 versions & 1 rubygems