Sha256: 686a11d485e1f008ca31436df6387b3f24e5109ae41e2f2cf5b1bf4d7178a937
Contents?: true
Size: 799 Bytes
Versions: 177
Compression:
Stored size: 799 Bytes
Contents
class CreateTransplantRecipientOperations < ActiveRecord::Migration[4.2] def change create_table :transplant_recipient_operations do |t| t.belongs_to :patient, index: true, foreign_key: true t.date :performed_on, null: false t.time :theatre_case_start_time, null: false t.datetime :donor_kidney_removed_from_ice_at, null: false t.string :operation_type, null: false t.references :hospital_centre, foreign_key: true, null: false t.datetime :kidney_perfused_with_blood_at, null: false t.integer :cold_ischaemic_time, null: false t.integer :warm_ischaemic_time, null: false t.text :notes t.jsonb :document t.timestamps null: false end add_index :transplant_recipient_operations, :document, using: :gin end end
Version data entries
177 entries across 177 versions & 1 rubygems