Issues

Issue #2285 resolved

Update CircularDependencyError docs to reference use_alter

Anonymous created an issue

I just ran into a CircularDependencyError which turned out to be simply due to two tables referencing each other.

After some digging I found this thread, which instantly gave me a solution:

http://www.mail-archive.com/sqlalchemy@googlegroups.com/msg24991.html

This investigation could have been shorter if the CircularDependencyError docs had a short explanation and/or a quick link to the (great) use_alter explanation here:

http://www.sqlalchemy.org/docs/core/schema.html?highlight=use_alter#creating-dropping-foreign-key-constraints-via-alter

Comments (2)

  1. Log in to comment