I notice that some databases like Postgres add Enum
but the question is,
At what point integer/string based enum
becomes a performance issue?
Following this answer about differences Postgresql enum what are the advantages and disadvantages?
Because when you use Rails or in this case Ecto
from Elixir language, there is a level of abstraction so the one of the two advantages listed there becomes no an problem at all so there is only missing performance
concern.
So when that advantage is really important that you dropped the disadvantages listed there