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.0.pre.rc11 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.rc10 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.rc9 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.rc8 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.rc7 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.rc6 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.rc5 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.rc4 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.rc3 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.rc1 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.beta12 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.beta11 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.beta10 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb
renalware-core-2.0.0.pre.beta9 db/migrate/20171009104106_add_legacy_patient_id_to_patients.rb