- attached sqlabug.py
PostgreSQL ARRAY of Enum doesn't create Enum types before creating table
Issue #2745
resolved
In PostgreSQL, when defining a column of type ARRAY of Enum, SQLAlchemy doesn't create the Enum types before creating the table. This causes the table creation to fail.
This bug occurs with SQLAlchemy 0.8.1.
Comments (3)
-
reporter -
repo owner - changed status to duplicate
hello -
this has already been logged as
#2729. If you look there you can see a workaround using events for now. -
reporter Cool, thanks. Nice to see that my workaround is similar to the one on
#2729. :) - Log in to comment
test case demonstrating the bug