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
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
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.postgresql.ENUM('value1', 'value2', 'value3',
name=name)
op.execute(