diff --git a/lib/ecto_enum/use.ex b/lib/ecto_enum/use.ex index 3b30222..3de02ca 100644 --- a/lib/ecto_enum/use.ex +++ b/lib/ecto_enum/use.ex @@ -7,7 +7,7 @@ defmodule EctoEnum.Use do quote bind_quoted: [opts: opts] do typespec = Typespec.make(Keyword.keys(opts)) - @behaviour Ecto.Type + use Ecto.Type @type t :: unquote(typespec)