View Source Ecto.ShortUUID.Builder (ecto_shortuuid v0.4.0)
A builder module for creating Ecto types that use custom ShortUUID implementations.
Example
defmodule MyBase58UUID do
use ShortUUID.Builder, alphabet: :base58
end
defmodule MyShortUUID do
use Ecto.ShortUUID.Builder, encoder: MyBase58UUID
end
The specified encoder must be a ShortUUID compatible module.