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

Version Path
renalware-core-2.0.0.pre.rc9 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.rc8 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.rc7 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.rc6 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.rc5 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.rc4 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.rc3 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.rc1 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.beta12 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.beta11 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.beta10 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.beta9 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.beta8 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.beta7 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.beta6 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.beta5 db/migrate/20150623083220_create_doctors.rb
renalware-core-2.0.0.pre.beta4 db/migrate/20150623083220_create_doctors.rb