18F/identity-idp

View on GitHub
db/primary_migrate/20200326160855_create_pii_fingerprint.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreatePiiFingerprint < ActiveRecord::Migration[5.2]
  def change
    add_column :profiles, :name_zip_birth_year_signature, :string

    # This column is empty and the table here is small. This index should not
    # lock the table.
    safety_assured { add_index :profiles, :name_zip_birth_year_signature }
  end
end