mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-19 21:13:19 +12:00
improvement: specify @behaviour in AshPostgres.Type
This commit is contained in:
parent
c8aa2a8dd8
commit
8a6f51efb5
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ defmodule AshPostgres.Type do
|
|||
|
||||
defmacro __using__(_) do
|
||||
quote do
|
||||
@behaviour AshPostgres.Type
|
||||
def value_to_postgres_default(_, _, _), do: :error
|
||||
|
||||
defoverridable value_to_postgres_default: 3
|
||||
|
|
Loading…
Reference in a new issue