Sha256: f792a81eceb393330c27524def33638d1ba9b7143e40bc7dfb7bd29a9a869af9
Contents?: true
Size: 371 Bytes
Versions: 72
Compression:
Stored size: 371 Bytes
Contents
class RemoveLocalPatientIdUniqueIdx < ActiveRecord::Migration[5.1] def change columns = %i( local_patient_id local_patient_id_2 local_patient_id_3 local_patient_id_4 local_patient_id_5 ) columns.each{ |column| remove_index(:patients, column) } columns.each{ |column| add_index(:patients, column, unique: false) } end end
Version data entries
72 entries across 72 versions & 1 rubygems