Alembic: add an `ondelete` constraint to an existing foreign_key column

前端 未结 0 908
日久生厌
日久生厌 2021-02-07 21:00

I know how to add the column with the constraint, and I know how to alter data-types.... but how to I add an ondelete="CASCADE" attribute to an existi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题