Sha256: e8e83e4909997b63140a53311606f12ff87fa6d500611a3b1b1f599e9ca48bdb

Contents?: true

Size: 248 Bytes

Versions: 108

Compression:

Stored size: 248 Bytes

Contents

class AddBirthPlaceAndResidenceToPeople < ActiveRecord::Migration[5.1]
  def change
    add_column :egov_utils_people, :birth_place, :string
    add_reference :egov_utils_people, :residence, foreign_key: {to_table: :egov_utils_addresses}
  end
end

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
egov_utils-1.5.0.alpha16 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha15 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha14 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha13 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha12 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha11 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha10 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha9 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha8 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha7 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha6 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha5 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha4 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.4.5 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.4.4 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha3 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha2 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.5.0.alpha1 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.4.3 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb
egov_utils-1.4.2 db/migrate/20171103141234_add_birth_place_and_residence_to_people.rb