Sha256: 0d8d02d1a9a68983881ed05a780138def8b698fef56a43edd247250296e091b2
Contents?: true
Size: 466 Bytes
Versions: 11
Compression:
Stored size: 466 Bytes
Contents
class ChangePathRequestConsultantId < ActiveRecord::Migration[5.2] def change within_renalware_schema do remove_reference( :pathology_requests_requests, :consultant, foreign_key: { to_table: :users }, index: true ) add_reference( :pathology_requests_requests, :consultant, foreign_key: { to_table: :renal_consultants }, index: true, null: true ) end end end
Version data entries
11 entries across 11 versions & 1 rubygems