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.64 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.63 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.62 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.61 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.60 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.58 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.57 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.56 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.55 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.54 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.53 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.52 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.51 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.50 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.48 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.47 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.46 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.45 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.44 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.43 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb