How can I add an element to an Enum field in an alembic migration when using a version of PostgreSQL older than 9.1 (which adds the ALTER TYPE for enums)? This SO question e
In straight SQL, this would work for Postgres, if the order of the things in your enum doesn't need to be exactly as above:
ALTER TYPE status ADD value 'output_limit_exceeded' after 'timed_out';