add enum type

Hi there supa wizards 🧙🏻 🧙🏾‍♂️ 🧙🏻‍♀️ How do u add a new enum type to an existing column?
3 Replies
garyaustin
garyaustin3y ago
If you google postgres enum alter you should find some hits. It is not clear if you want to add to a set of enum values, or add/change a column to enum.
amorenva
amorenvaOP3y ago
thank u gary, I want to add to a set of enum values
garyaustin
garyaustin3y ago
PostgreSQL Documentation
ALTER TYPE
ALTER TYPE ALTER TYPE — change the definition of a type Synopsis ALTER TYPE name OWNER TO { new_owner | …
Stack Overflow
Adding a new value to an existing ENUM Type
I have a table column that uses an enum type. I wish to update that enum type to have an additional possible value. I don't want to delete any existing values, just add the new value. What is the

Did you find this page helpful?