Re: extending enum type natively in postgres using alembic

2019-10-31 Thread Alexander
Mike, thank you very much for so fast and detailed response! чт, 31 окт. 2019 г. в 17:45, Mike Bayer : > > > On Thu, Oct 31, 2019, at 8:45 AM, Alexander wrote: > > Dear colleagues, > > I would like to extend enum type in postgres using alembic and currently i > have to do the following: > > name

Re: extending enum type natively in postgres using alembic

2019-10-31 Thread Mike Bayer
On Thu, Oct 31, 2019, at 8:45 AM, Alexander wrote: > Dear colleagues, > > I would like to extend enum type in postgres using alembic and currently i > have to do the following: > > name = 'my_type' > old_enum = sa.dialects.postgresql.ENUM('value1', 'value2', name=name) > new_enum = sa.dialects