Sha256: 5112cef31907e12943ccdc49da4aa0687f51223f8f9a6a167fd83be8b7850c6d
Contents?: true
Size: 556 Bytes
Versions: 177
Compression:
Stored size: 556 Bytes
Contents
class AddMissingPrescriptionIndexes < ActiveRecord::Migration[4.2] def change add_index :medication_prescriptions, :created_by_id add_index :medication_prescriptions, :updated_by_id add_index :medication_prescriptions, :patient_id add_index :medication_prescriptions, :drug_id add_index :medication_prescriptions, :medication_route_id add_index :medication_prescriptions, [:patient_id, :medication_route_id], name: 'idx_mp_patient_id_medication_route_id' add_index :medication_prescriptions, [:drug_id, :patient_id] end end
Version data entries
177 entries across 177 versions & 1 rubygems