I have an enum datasetId
, to which I'd like to add another value.
However, this doesn't work:
ALTER TYPE datasetId ADD VALUE 'SOME_VALUE'
and fails with
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject) type "datasetid" does not exist
I believe this is because of the uppercase letter in the enum name. How to I get around that?