foreign key as primary key sqlalchemy code example
Example: foreign key sqlalchemy
t = Table("remote_table", metadata,
Column("remote_id", ForeignKey("main_table.id"))
)
t = Table("remote_table", metadata,
Column("remote_id", ForeignKey("main_table.id"))
)