Sha256: d9a0d00fe804ae51e224977fa708bb85ff7f067976c359eec52ea88c7a3dbfdf
Contents?: true
Size: 454 Bytes
Versions: 69
Compression:
Stored size: 454 Bytes
Contents
class CreateConsultSites < ActiveRecord::Migration[5.1] def change create_table :admission_consult_sites do |t| t.string :name, index: :unique end remove_column :admission_consults, :hospital_unit_id add_column :admission_consults, :other_site_or_ward, :string add_reference :admission_consults, :consult_site, references: :admission_consult_sites, index: true end end
Version data entries
69 entries across 69 versions & 1 rubygems