Sha256: d342ea80c752fb892bd029a6757d699441568a1b6f75746b7a3f0f9ce0c5fb6c

Contents?: true

Size: 207 Bytes

Versions: 177

Compression:

Stored size: 207 Bytes

Contents

class AddUuidToPatients < ActiveRecord::Migration[5.0]
  def change
    add_column :patients, :uuid, :uuid, default: 'uuid_generate_v4()', null: false
    add_index :patients, :uuid, using: :btree
  end
end

Version data entries

177 entries across 177 versions & 1 rubygems

Version Path
renalware-core-2.1.1 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.1.0 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.167 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.166 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.165 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.164 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.163 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.162 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.161 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.160 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.159 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.158 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.157 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.156 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.155 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.153 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.152 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.151 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.149 db/migrate/20170526061000_add_uuid_to_patients.rb
renalware-core-2.0.148 db/migrate/20170526061000_add_uuid_to_patients.rb