这些关联用程序来控制更好。
foreign key is usually used to control the relationship between transaction tables . And I believe your user table is master table .
foreign key is usually used to control the relationship between transaction tables . And I believe your user table is master table .
但也不是绝对没有,要看具体情况。
达到管理开发和系统安全一致性的平衡,才是真正好的系统。