Closed mwillema closed 5 years ago
You need to include the Jason library in mix.exs
to enable the Postgrex types with JSON support.
defp deps do
[{:jason, "~> 1.1"}]
end
Ok thanks for the reply :-) IMO this should probably be mentioned in the documentation. I can do it if you want.
Yes, it would be useful to include in the docs. A pull request would be gladly accepted.
According to the Getting Started guide we should add this line to
config.exs
when we want to use the jsonb datatype:However this results in a module not available error. Without the afford mentioned line it seems to work.