diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-10-08 19:20:09 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-10-08 19:20:09 -0400 |
commit | f27b7551292fcd0230effc3387b86ac5a544a561 (patch) | |
tree | 682b40d3fcce81c08db1b83a13d90f06b3fb6032 | |
parent | d363a4b0bbc5de22ec77bb1b2f0fd64e30e4009e (diff) | |
download | sqlalchemy-f27b7551292fcd0230effc3387b86ac5a544a561.tar.gz |
The erroneous kw arg "schema" has been removed from the :class:`.ForeignKey`
object. this was an accidental commit that did nothing; a warning is raised
in 0.8.3 when this kw arg is used. [ticket:2831]
-rw-r--r-- | doc/build/changelog/changelog_09.rst | 8 | ||||
-rw-r--r-- | lib/sqlalchemy/sql/schema.py | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/build/changelog/changelog_09.rst b/doc/build/changelog/changelog_09.rst index ec6f086f3..aec107acd 100644 --- a/doc/build/changelog/changelog_09.rst +++ b/doc/build/changelog/changelog_09.rst @@ -13,6 +13,14 @@ :version: 0.9.0 .. change:: + :tags: bug, sql + :tickets: 2831 + + The erroneous kw arg "schema" has been removed from the :class:`.ForeignKey` + object. this was an accidental commit that did nothing; a warning is raised + in 0.8.3 when this kw arg is used. + + .. change:: :tags: feature, orm :tickets: 1418 diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py index 35bab8e9d..92220b0d1 100644 --- a/lib/sqlalchemy/sql/schema.py +++ b/lib/sqlalchemy/sql/schema.py @@ -1279,7 +1279,6 @@ class ForeignKey(SchemaItem): def __init__(self, column, _constraint=None, use_alter=False, name=None, onupdate=None, ondelete=None, deferrable=None, - schema=None, initially=None, link_to_name=False, match=None): """ Construct a column-level FOREIGN KEY. |