mirror of
https://github.com/ash-project/ash_sqlite.git
synced 2024-09-19 12:52:50 +12:00
fix: use Ecto.ParameterizedType.init/2
This commit is contained in:
parent
6f055845f4
commit
945019a467
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ defmodule AshSqlite.Types do
|
|||
end
|
||||
else
|
||||
if is_atom(type) && :erlang.function_exported(type, :type, 1) do
|
||||
parameterized_type(type, constraints || [])
|
||||
Ecto.ParameterizedType.init(type, constraints || [])
|
||||
else
|
||||
type
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue