Sha256: 0c9a91309d7a0040797973b91f7b4de4acb2b5353e71ae579df52e79836d68af
Contents?: true
Size: 163 Bytes
Versions: 2
Compression:
Stored size: 163 Bytes
Contents
class AddProfileIdToUser < ActiveRecord::Migration[5.0] def change add_reference :users, :profile, foreign_key: {on_delete: :cascade}, type: :uuid end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enju_seed-0.3.0.beta.4 | db/migrate/20170114174536_add_profile_id_to_user.rb |
enju_seed-0.3.0.beta.3 | db/migrate/20170114174536_add_profile_id_to_user.rb |