Sha256: b1a906bd596a855f734f52bb8f36e9358744ffc819ae2aa35e830cc51c821bb1
Contents?: true
Size: 705 Bytes
Versions: 177
Compression:
Stored size: 705 Bytes
Contents
class CreateTransplantDonations < ActiveRecord::Migration[4.2] def change create_table :transplant_donations do |t| t.belongs_to :patient, index: true, foreign_key: true t.integer :recipient_id t.string :state, null: false t.string :relationship_with_recipient, null: false t.string :relationship_with_recipient_other t.string :blood_group_compatibility t.string :mismatch_grade t.string :paired_pooled_donation t.date :volunteered_on t.date :first_seen_on t.date :workup_completed_on t.date :donated_on t.text :notes t.timestamps null: false end add_index :transplant_donations, :recipient_id end end
Version data entries
177 entries across 177 versions & 1 rubygems