]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added a new feature which allows automated naming conventions to be
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 1 Feb 2014 23:21:04 +0000 (18:21 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 1 Feb 2014 23:21:04 +0000 (18:21 -0500)
commit5b0919f3f5c7678c587858a47e38acd4a5b82f25
tree236ff9c4c4e8688aa9b1b5b5a9ea7f20ea3807fd
parent32a1db368599f6f3dbb3765ef5f11640d1725672
- Added a new feature which allows automated naming conventions to be
applied to :class:`.Constraint` and :class:`.Index` objects.  Based
on a recipe in the wiki, the new feature uses schema-events to set up
names as various schema objects are associated with each other.  The
events then expose a configuration system through a new argument
:paramref:`.MetaData.naming_convention`.  This system allows production
of both simple and custom naming schemes for constraints and indexes
on a per-:class:`.MetaData` basis.  [ticket:2923]

commit 7e65e52c086652de3dd3303c723f98f09af54db8
Author: Mike Bayer <mike_mp@zzzcomputing.com>
Date:   Sat Feb 1 15:09:04 2014 -0500

    - first pass at new naming approach
doc/build/changelog/changelog_09.rst
doc/build/core/constraints.rst
lib/sqlalchemy/sql/__init__.py
lib/sqlalchemy/sql/naming.py [new file with mode: 0644]
lib/sqlalchemy/sql/schema.py
lib/sqlalchemy/testing/fixtures.py
test/engine/test_reflection.py
test/sql/test_metadata.py