]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The :class:`.TypeDecorator` type extender will now work in conjunction
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 27 Aug 2015 22:04:25 +0000 (18:04 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 27 Aug 2015 22:04:25 +0000 (18:04 -0400)
commited535649d423020c816e66869016992df25e456e
treed5a2dbbcf635a520e1fa350715acbec0ec15e571
parentd459afa8dbf73b8d9d620d09dede97e3461b6b3f
- The :class:`.TypeDecorator` type extender will now work in conjunction
with a :class:`.SchemaType` implementation, typically :class:`.Enum`
or :class:`.Boolean` with regards to ensuring that the per-table
events are propagated from the implementation type to the outer type.
These events are used
to ensure that the constraints or Postgresql types (e.g. ENUM)
are correctly created (and possibly dropped) along with the parent
table.
fixes #2919
doc/build/changelog/changelog_11.rst
doc/build/changelog/migration_11.rst
lib/sqlalchemy/sql/type_api.py
test/dialect/postgresql/test_types.py
test/sql/test_types.py