Sha256: 9b6c4ae4ae28aefc27f6ae89bede73adf0c7d930380cf83247642a77de89c6bf

Contents?: true

Size: 221 Bytes

Versions: 21

Compression:

Stored size: 221 Bytes

Contents

class CreateIndexOnLowerPatientFamilyName < ActiveRecord::Migration[5.1]
  def change
    add_index :patients,
            "lower(family_name), given_name",
            name: "idx_patients_on_lower_family_name"
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
renalware-core-2.0.64 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.63 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.62 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.61 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.60 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.58 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.57 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.56 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.55 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.54 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.53 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.52 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.51 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.50 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.48 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.47 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.46 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.45 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.44 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb
renalware-core-2.0.43 db/migrate/20180814103916_create_index_on_lower_patient_family_name.rb