Hi Michael,
Could you please tell me how the function, syntax is.
In the Alembic documentation, I can see create_foreign_key but not
drop_foreign_key. I guess drop_constraint can be used, but please give me
an example.
Another thing is that the foreign_key generated by
Column('owner_id', Integer, ForeignKey('owners.id'))
doesn't have a name, but drop_constraint require the constraint's name to
drop.
Post by Michael Bayeri believe you need to drop the foreign key and re-create it.
--
***********************************************
* Nguyá»
n Há»ng Quân *
* Y!M: ng_hquan_vn *
* Identi.ca: hongquan *
***********************************************
--
You received this message because you are subscribed to the Google Groups "sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy-alembic+***@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.