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
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (6125, "Failed to add the foreign key constraint. Missing unique key for constraint 'orbitfits_ibfk_1' in the referenced table 'Planets'")
[SQL: ALTER TABLE OrbitFits ADD FOREIGN KEY (pl_id) REFERENCES Planets(pl_id) ON DELETE NO ACTION ON UPDATE NO ACTION]
Return to original database schema,
work back in the commented out code.
line 2086 of plandb_methods
The text was updated successfully, but these errors were encountered:
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (6125, "Failed to add the foreign key constraint. Missing unique key for constraint 'orbitfits_ibfk_1' in the referenced table 'Planets'")
[SQL: ALTER TABLE OrbitFits ADD FOREIGN KEY (pl_id) REFERENCES Planets(pl_id) ON DELETE NO ACTION ON UPDATE NO ACTION]
Return to original database schema,
work back in the commented out code.
line 2086 of plandb_methods
The text was updated successfully, but these errors were encountered: