]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [feature] Added create_type constructor argument
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 29 Nov 2011 03:28:28 +0000 (22:28 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 29 Nov 2011 03:28:28 +0000 (22:28 -0500)
commitb854074c6dd93cfeb4c5335a4469c700c4d47f04
tree195a330efb22180b60656146bd18ed895007b378
parentbeef2b5aa811efd42a111c87a4308d6584c78b97
- [feature] Added create_type constructor argument
to pg.ENUM.  When False, no CREATE/DROP or
checking for the type will be performed as part
of a table create/drop event; only the
create()/drop)() methods called directly
will do this.  Helps with Alembic "offline"
scripts.
CHANGES
doc/build/core/types.rst
doc/build/dialects/postgresql.rst
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/types.py
test/dialect/test_postgresql.py