diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-02-04 12:09:54 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-02-04 12:11:41 -0500 |
commit | 9660e94e35be438b0d51cd87e6ccb4047a332c15 (patch) | |
tree | 0a888b4fb18430618bca045b3c2456dff893f6cb /lib/sqlalchemy/ext/asyncio/engine.py | |
parent | e91d918fc24d678a413feb3744e70014f54172c7 (diff) | |
download | sqlalchemy-9660e94e35be438b0d51cd87e6ccb4047a332c15.tar.gz |
Accommodate column-based naming conventions for pk constraint
Repaired / implemented support for primary key constraint naming
conventions that use column names/keys/etc as part of the convention. In
particular, this includes that the :class:`.PrimaryKeyConstraint` object
that's automatically associated with a :class:`.schema.Table` will update
its name as new primary key :class:`_schema.Column` objects are added to
the table and then to the constraint. Internal failure modes related to
this constraint construction process including no columns present, no name
present or blank name present are now accommodated.
Fixes: #5919
Change-Id: Ic2800b50f4a4cd5978bec48cefea0a2e198e0123
Diffstat (limited to 'lib/sqlalchemy/ext/asyncio/engine.py')
0 files changed, 0 insertions, 0 deletions