mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-07 17:31:24 -04:00
fbb623d9ce
Added new parameter :paramref:`.Enum.create_type` to the Core :class:`.Enum` class. This parameter is automatically passed to the corresponding :class:`_postgresql.ENUM` native type during DDL operations, allowing control over whether the PostgreSQL ENUM type is implicitly created or dropped within DDL operations that are otherwise targeting tables only. This provides control over the :paramref:`_postgresql.ENUM.create_type` behavior without requiring explicit creation of a :class:`_postgresql.ENUM` object. Fixes: #10604 Change-Id: I450003ec2a2a65c119fe7ca8ff201392ce6b91e1