Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
INITIALLY, MATCH, dialect-specific arguments not supported by create_foreign_key() #190
Michael Bayer (@zzzeek) wrote:
if you're only targeting one database just op.execute("ALTER TABLE...").
otherwise you can go totally manually by creating a ForeignKeyConstraint() object, attach it to a Table that has the Column objects you need, then execute sqlalchemy.schema.AddConstraint(constraint) through op.execute().
still another hybrid workaround is use the internals a bit:
if it were me I'd just run the version out of git...