]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- use provide_metadata for new unique constraint / index tests
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 4 Oct 2014 22:57:01 +0000 (18:57 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 4 Oct 2014 23:06:35 +0000 (19:06 -0400)
commitb510b990947cb8e461df8877ca0f011542b7a319
tree7dc2280b3cd5378e1f89c79f5dee2b4ce67363e2
parentf7dee1380c40f3e73868a136aae5d18e976aa757
- use provide_metadata for new unique constraint / index tests
- add a test for PG reflection of unique index without any unique
constraint
- for PG, don't include 'duplicates_constraint' in the entry
if the index does not actually mirror a constraint
- use a distinct method for unique constraint reflection within table
- catch unique constraint not implemented condition; this may
be within some dialects and also is expected to be supported by
Alembic tests
- migration + changelogs for #3184
- add individual doc notes as well to MySQL, Postgreql
fixes #3184
doc/build/changelog/changelog_10.rst
doc/build/changelog/migration_10.rst
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/engine/reflection.py
test/dialect/mysql/test_reflection.py
test/dialect/postgresql/test_reflection.py