Sha256: 2d359d72f3a0da1d6371c78fcd4cc3e50db16dddd9b305256dd251c260e32f0f
Contents?: true
Size: 355 Bytes
Versions: 177
Compression:
Stored size: 355 Bytes
Contents
class CreateDoctors < ActiveRecord::Migration[4.2] def change create_table :doctor_doctors do |t| t.string :given_name t.string :family_name t.string :email t.string :code t.string :practitioner_type, null: false t.timestamps null: false end add_index :doctor_doctors, :code, unique: true end end
Version data entries
177 entries across 177 versions & 1 rubygems