Is there any good list of what types can be used in ecto migrations, and what types to use then in schema?
In @moduledoc in https://github.com/elixir-ecto/ecto/blob/master/lib/ecto/schema.ex
which you also can get, but preeety printed from iex h Ecto.Schema
I guess it’s better start then nothing And schema uses same types as migration do I think.
https://hexdocs.pm/ecto/Ecto.Migration.html Scroll down a bit from the top.
Where can I find a list over supported DB/Ecto/Models data types answers the second half of your question.
2 Likes
Hey, in that response is what you exactly get (content wise, not formatting ) when you enter h Ecto.Schema
into IEX It’s one of many great things about Elixir and philosophy behind it