- changed milestone to 0.7.xx
support "ON DELETE/UPDATE" in Foreign Key Reflection
Issue #2183
resolved
When reflecting a table, a Foreign Key's ON DELETE/UPDATE settings are not picked up.
Based on discussion here:
http://groups.google.com/group/sqlalchemy/browse_thread/thread/6fa4aca51ba5b2d
Comments (6)
-
repo owner -
repo owner it goes without saying this is not a trivial task as we'd need to figure it out for every database individually...
-
repo owner we already do this for MySQL. For Postgresql we have https://github.com/zzzeek/sqlalchemy/pull/34. so the spec here is that it's part of "options" in the FK spec.
next part, this is fairly straightforward, link up those options in reflection.py where we generate the
ForeignKeyConstraint
. -
repo owner mysql hasn't worked well due to
#2839. -
repo owner - changed status to resolved
pg is mostly in 9d952e0a11709fe35ada2635a79043ca
-
repo owner - removed milestone
Removing milestone: 0.9.0 (automated comment)
- Log in to comment