Hi all, I highly appreciate your help with the following issue.
I have two different databases in MySQL let say db1 and db2. I want to add a foreign key constraint from table db1.tablex to table db2.tabley and also include the corresponding relationship in the declarative mapping. I have to create two different engines for this purpose. But I don't know how to connect the engines and establish a relationship between these engines. I also don't know how to define the constraint such that alembic detect the constraint and apply to the databases. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/dfa90791-54d6-47b8-aea7-cfb555039ca1n%40googlegroups.com.