You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When table A has a foreign key to table B and table B has a foreign key to table A, sqlacodegen gives a warning at this line: SAWarning: Cannot correctly sort tables; there are unresolvable cycles between tables "tablea, tableb", which is usually caused by mutually dependent foreign key constraints. Foreign key constraints involving these tables will not be considered; this warning may raise an error in a future release.. Does this warning mean something won't work or can I ignore it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When table A has a foreign key to table B and table B has a foreign key to table A, sqlacodegen gives a warning at this line:
SAWarning: Cannot correctly sort tables; there are unresolvable cycles between tables "tablea, tableb", which is usually caused by mutually dependent foreign key constraints. Foreign key constraints involving these tables will not be considered; this warning may raise an error in a future release.
. Does this warning mean something won't work or can I ignore it?Beta Was this translation helpful? Give feedback.
All reactions