We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
生成了两条sql ALTER TABLE product DROP FOREIGN KEY fk_product_user_37721d57; ALTER TABLE product DROP COLUMN user_id;
product
fk_product_user_37721d57
user_id
执行 DROP FOREIGN KEY fk_product_user_37721d57; 会出错 因为指定了db_constraint=False 没有外键约束
The text was updated successfully, but these errors were encountered:
嗯,这里应该是一个bug,db_constraint=False不应该drop外键
Sorry, something went wrong.
Fix db_constraint when fk changed. (#179)
db_constraint
2da794d
试试最新dev分支
No branches or pull requests
生成了两条sql
ALTER TABLE
product
DROP FOREIGN KEYfk_product_user_37721d57
;ALTER TABLE
product
DROP COLUMNuser_id
;执行 DROP FOREIGN KEY
fk_product_user_37721d57
; 会出错 因为指定了db_constraint=False 没有外键约束The text was updated successfully, but these errors were encountered: