Sha256: db9d1cc1a840e3f90f49ec1ceca4acb18fca7f352b8bd070a0148d684f3a346c
Contents?: true
Size: 470 Bytes
Versions: 1
Compression:
Stored size: 470 Bytes
Contents
class CreateTenaDcmsPatients < ActiveRecord::Migration[7.1] def change create_table :tena_dcms_patients do |t| t.string :first_name t.string :last_name t.string :mobile_number t.string :email t.string :gender t.references :doctor, null: false, index: { name: 'doctor_on_ccpoitm_indx' }, foreign_key: { to_table: :tena_dcms_doctors } t.timestamps end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tena_dcms-0.1.0 | db/migrate/20240730094151_create_tena_dcms_patients.rb |