i have a table (and a moel linked): Works (in a postgresql database)
then i would like to add a column named “categorie” with “enum” type and define the list of choice for enum.
I read the rails guide doc talk about ability to use enum type for database, and how to do that…
but in fact, it is not enum type.
Is it possible (really) to use enum type FROM database?
and is it possible to generate a (real) enum type IN the database (with list of choices to create) ?