class AddIndexesToWorkers < ActiveRecord::Migration[7.1]
def change
add_index :workers, :ssn, unique: true
end