Fields.PhoneNumber (fields v2.8.0)

An Ecto Type for plaintext phone numbers. Useful for publicly available numbers such as customer support. See Fields.PhoneNumberEncrypted for storing numbers that are Personally Identifiable Information.

Example

  schema "retailers" do
    field(:phone_number, Fields.PhoneNumber)
  end

Link to this section Summary

Link to this section Functions