[Sqlalchemy-commits] commit/sqlalchemy: 4 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2014-10-04 23:11:01
|
4 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/7fa21b22989f/ Changeset: 7fa21b22989f Branch: None User: jerdfelt Date: 2014-09-17 20:19:50+00:00 Summary: Reflect unique constraints when reflecting a Table object Calls to reflect a table did not create any UniqueConstraint objects. The reflection core made no calls to get_unique_constraints and as a result, the sqlite dialect would never reflect any unique constraints. MySQL transparently converts unique constraints into unique indexes, but SQLAlchemy would reflect those as an Index object and as a UniqueConstraint. The reflection core will now deduplicate the unique constraints. PostgreSQL would reflect unique constraints as an Index object and as a UniqueConstraint object. The reflection core will now deduplicate the unique indexes. Affected #: 6 files https://bitbucket.org/zzzeek/sqlalchemy/commits/f7dee1380c40/ Changeset: f7dee1380c40 Branch: None User: zzzeek Date: 2014-10-04 21:47:53+00:00 Summary: Merge branch 'reflect-unique-constraints' of https://bitbucket.org/jerdfelt/sqlalchemy into pr30 Affected #: 6 files https://bitbucket.org/zzzeek/sqlalchemy/commits/b510b990947c/ Changeset: b510b990947c Branch: None User: zzzeek Date: 2014-10-04 23:06:35+00:00 Summary: - 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 Affected #: 7 files https://bitbucket.org/zzzeek/sqlalchemy/commits/c4dee4cbb7aa/ Changeset: c4dee4cbb7aa Branch: None User: zzzeek Date: 2014-10-04 23:10:23+00:00 Summary: - move some things that are features to the features Affected #: 1 file Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |