Sha256: ad505ee7f2292e210d87d130a10f1b323fd4abc9af59e968e66b8dd1d4d26ed9
Contents?: true
Size: 652 Bytes
Versions: 77
Compression:
Stored size: 652 Bytes
Contents
class CreateTransplantRejectionEpisodes < ActiveRecord::Migration[5.2] def change within_renalware_schema do create_table :transplant_rejection_episodes do |t| t.date :recorded_on, null: false t.text :notes t.references( :followup, foreign_key: { to_table: :transplant_recipient_followups }, null: false, index: true ) t.references :updated_by, foreign_key: { to_table: :users }, index: true, null: false t.references :created_by, foreign_key: { to_table: :users }, index: true, null: false t.timestamps null: false end end end end
Version data entries
77 entries across 77 versions & 1 rubygems