Sha256: 768898913a3cf52d606b7a1d6d92cd962b9ec6ab80d3ba48d06d0191dfd9f3fb
Contents?: true
Size: 621 Bytes
Versions: 177
Compression:
Stored size: 621 Bytes
Contents
class CreateTransplantDonorOperations < ActiveRecord::Migration[4.2] def change create_table :transplant_donor_operations do |t| t.belongs_to :patient, index: true, foreign_key: true t.date :performed_on, null: false t.string :anaesthetist t.string :donor_splenectomy_peri_or_post_operatively t.string :kidney_side t.string :nephrectomy_type t.string :nephrectomy_type_other t.string :operating_surgeon t.text :notes t.jsonb :document t.timestamps null: false end add_index :transplant_donor_operations, :document, using: :gin end end
Version data entries
177 entries across 177 versions & 1 rubygems