diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-08-16 10:44:48 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-08-20 11:10:33 -0400 |
commit | c5a316053d6201981240c7f8fb73934a0b241b7c (patch) | |
tree | 08f6f57449aaf33aaf26bd9690a00db63cd6ef38 /lib/sqlalchemy/dialects/postgresql/asyncpg.py | |
parent | a134ec1760df6295d537ff63df7aee83d957bf6a (diff) | |
download | sqlalchemy-c5a316053d6201981240c7f8fb73934a0b241b7c.tar.gz |
support create/drop events for all CREATE/DROP
Implemented the DDL event hooks :meth:`.DDLEvents.before_create`,
:meth:`.DDLEvents.after_create`, :meth:`.DDLEvents.before_drop`,
:meth:`.DDLEvents.after_drop` for all :class:`.SchemaItem` objects that
include a distinct CREATE or DROP step, when that step is invoked as a
distinct SQL statement, including for :class:`.ForeignKeyConstraint`,
:class:`.Sequence`, :class:`.Index`, and PostgreSQL's
:class:`_postgresql.ENUM`.
Fixes: #8394
Change-Id: Iee6274984e794f50103451a04d089641d6ac443a
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/asyncpg.py')
0 files changed, 0 insertions, 0 deletions