Sha256: efdc66474ef83652df3193733c2dc4b63b02c780b82e99305d0dde8576d96a0e

Contents?: true

Size: 237 Bytes

Versions: 172

Compression:

Stored size: 237 Bytes

Contents

class AddCountryOfBirthToPatients < ActiveRecord::Migration[5.1]
  def change
    add_column :patients, :country_of_birth_id, :integer, index: true
    add_foreign_key :patients, :system_countries, column: :country_of_birth_id
  end
end

Version data entries

172 entries across 172 versions & 1 rubygems

Version Path
renalware-core-2.1.1 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.1.0 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.167 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.166 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.165 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.164 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.163 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.162 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.161 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.160 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.159 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.158 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.157 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.156 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.155 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.153 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.152 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.151 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.149 db/migrate/20170926132845_add_country_of_birth_to_patients.rb
renalware-core-2.0.148 db/migrate/20170926132845_add_country_of_birth_to_patients.rb