Revert "优化db外键关联"

This reverts commit eca4ddd520756a7ba319337cb64c8339b6333fa1.