mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 05:23:18 +12:00
14 lines
374 B
Elixir
14 lines
374 B
Elixir
defmodule Ash.Type.CiStringWrapper do
|
|
@moduledoc false
|
|
use Ash.Type
|
|
|
|
@impl true
|
|
def storage_type(_), do: :citext
|
|
|
|
@impl true
|
|
defdelegate cast_input(value, constraints), to: Ash.Type.CiString
|
|
@impl true
|
|
defdelegate cast_stored(value, constraints), to: Ash.Type.CiString
|
|
@impl true
|
|
defdelegate dump_to_native(value, constraints), to: Ash.Type.CiString
|
|
end
|