Sha256: 54e8fe4edd6c0833f620379bece8aac0b623b2688407fc9452ed06386eaba598
Contents?: true
Size: 635 Bytes
Versions: 31
Compression:
Stored size: 635 Bytes
Contents
class AddCreatedByToPathologyCodeGroups < ActiveRecord::Migration[5.2] def change within_renalware_schema do change_table :pathology_code_groups do |t| t.references :created_by, foreign_key: { to_table: :users }, index: true, null: true t.references :updated_by, foreign_key: { to_table: :users }, index: true, null: true end change_table :pathology_code_group_memberships do |t| t.references :created_by, foreign_key: { to_table: :users }, index: true, null: true t.references :updated_by, foreign_key: { to_table: :users }, index: true, null: true end end end end
Version data entries
31 entries across 31 versions & 1 rubygems