Sha256: 4d436800cb6e6dc743121111d9ad4ca1e7ef76beb9379f38685a93d9c6aa4a55

Contents?: true

Size: 214 Bytes

Versions: 74

Compression:

Stored size: 214 Bytes

Contents

class AddLegacyPatientIdToPatients < ActiveRecord::Migration[5.1]
  def change
    add_column :patients, :legacy_patient_id, :integer, null: true
    add_index :patients, :legacy_patient_id, unique: true
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
renalware-core-2.0.42 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.41 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.40 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.39 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.38 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.37 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.36 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.35 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.34 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.33 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.32 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.31 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.30 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.28 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.27 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.26 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.25 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.24 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.23 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.22 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb