Closed zimt28 closed 8 years ago
I think it does make sense. Someone else on the Elixir forum suggested this same thing too. I haven't really looked into how to implement this yet and if it is possible to implement this feature in an Ecto extension.
I'll look into it on my weekend. :) Feel free to look into it too. :)
@zimt28 latest release supports 0.4.0 supports Postgres's Enum Type! 😄
Does it make sense to use
EctoEnum
with the Postgres Enum Type? I think it's always a good idea to have things in the database as well. I'll try the following later, it would be nice ifEctoEnum
would provide a simple way to add the type to migrations as well.According to the Postgres docs, this would allow for cool things:
Not sure though Ecto would support this.