'How to add an enum value in a type using the typeorm API

For example, the plain (raw query) up migration I'm looking for would look as:

ALTER TYPE image_imagetype_enum ADD VALUE 'MANAGER_AVATAR';

However I would like to do the same using the typeorm API.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source