Sha256: 4a56c23b9c965afc7cf576ca0faa3fac0857b4ef2492892d390eb91c8a6d523b
Contents?: true
Size: 451 Bytes
Versions: 177
Compression:
Stored size: 451 Bytes
Contents
class CreateTransplantRegistrations < ActiveRecord::Migration[4.2] def change create_table :transplant_registrations do |t| t.belongs_to :patient, index: true, foreign_key: true t.date :referred_on t.date :assessed_on t.date :enterred_on t.text :contact t.text :notes t.jsonb :document t.timestamps null: false end add_index :transplant_registrations, :document, using: :gin end end
Version data entries
177 entries across 177 versions & 1 rubygems