Sha256: 2912d96272f648f9e076829b8092cc140322cbc63cdfa7d2f1de102ee6d8f095
Contents?: true
Size: 713 Bytes
Versions: 21
Compression:
Stored size: 713 Bytes
Contents
class AddMissingForeignKeyIndexes < ActiveRecord::Migration[5.1] # Found using https://github.com/gregnavis/active_record_doctor def change add_index :drug_types_drugs, :drug_type_id add_index :hd_stations, :location_id add_index :letter_contacts, :patient_id add_index :messaging_messages, :replying_to_message_id add_index :pathology_observation_descriptions, :measurement_unit_id add_index :patient_bookmarks, :user_id add_index( :pd_peritonitis_episode_types, :peritonitis_episode_type_description_id, name: "index_pd_peritonitis_episode_types_description_id" ) add_index :pd_pet_adequacy_results, :patient_id add_index :roles_users, :role_id end end
Version data entries
21 entries across 21 versions & 1 rubygems