applying migrations...error: unsafe use of new value "zewnetrzny"

adding model with enum like below (sorry for polish, ubiquitous language with domain masters)
export const typUzytkownikaEnum = pgEnum('typ_uzytkownika',
    ['zewnetrzny', 'wewnetrzny']
);

raise error:
applying migrations...error: unsafe use of new value "zewnetrzny"

"zewnetrzny" is not listed as forbidden word in pg, why error then?
Was this page helpful?