Users who moved, stored in Sovite's database and managed with
sovitectl moved. Mail for them is rejected with 5.1.6 and
their new location.
As a Sovite.Core.Lookup table, a lookup returns the new
location.
Summary
Functions
Deletes the entry for address.
Lists all entries, by address.
Records that address moved to new_location, replacing any earlier entry.
Functions
@spec delete(Sovite.Core.Repo.t(), String.t()) :: :ok | {:error, :not_found}
Deletes the entry for address.
@spec list(Sovite.Core.Repo.t()) :: [Sovite.Core.Repo.Schemas.RelocatedUser.t()]
Lists all entries, by address.
@spec set(Sovite.Core.Repo.t(), String.t(), String.t()) :: {:ok, Sovite.Core.Repo.Schemas.RelocatedUser.t()} | {:error, Ecto.Changeset.t()}
Records that address moved to new_location, replacing any earlier entry.