[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - The Postgresql :class:`.postgresql.ENUM` type wil
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2015-03-11 15:42:29
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/71b8df2e5319/ Changeset: 71b8df2e5319 Branch: None User: zzzeek Date: 2015-03-11 15:41:52+00:00 Summary: - The Postgresql :class:`.postgresql.ENUM` type will emit a DROP TYPE instruction when a plain ``table.drop()`` is called, assuming the object is not associated directly with a :class:`.MetaData` object. In order to accomodate the use case of an enumerated type shared between multiple tables, the type should be associated directly with the :class:`.MetaData` object; in this case the type will only be created at the metadata level, or if created directly. The rules for create/drop of Postgresql enumerated types have been highly reworked in general. fixes #3319 Affected #: 8 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |