Skip to content
New issue

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

创建表时如何添加外键约束? #15

Closed
jessedog opened this issue Nov 22, 2015 · 2 comments
Closed

创建表时如何添加外键约束? #15

jessedog opened this issue Nov 22, 2015 · 2 comments

Comments

@jessedog
Copy link

创建表被设计成只能指定字段及类型后,请问应该如何去添加外键约束呢?

@casatwy
Copy link
Owner

casatwy commented Nov 22, 2015

现在的CTPersistance不支持外键,因为我持外键其实是个伪需求的观点。

发自我的 iPhone

在 2015年11月22日,12:20,monsterTesla notifications@github.com 写道:

创建表被设计成只能指定字段及类型后,请问应该如何去添加外键约束呢?


Reply to this email directly or view it on GitHub.

@jessedog
Copy link
Author

哦~,那就只能自己去处理依赖关系,保持数据的完整性了。谢谢解答😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants