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

article表与category表关联的问题 #25

Open
OnlyOne2048 opened this issue Jul 11, 2020 · 3 comments
Open

article表与category表关联的问题 #25

OnlyOne2048 opened this issue Jul 11, 2020 · 3 comments

Comments

@OnlyOne2048
Copy link

我见categories表中没有articleId字段,只见article表中有一个articleCategories的字段,里面存放的是category的名字。这样进行表设计的话,该如何解决不同用户相同分类名的问题啊?是我没能发现解决方案,还是设计的问题啊

@zhyocean
Copy link
Owner

不同用户相同分类名是什么意思?这个博客只允许网站管理者发布文章,并且分类是管理者在后台进行设置的

@OnlyOne2048
Copy link
Author

那就是多个管理员共同管理同一批分类对吧,还是说只允许存在一个管理员

@zhyocean
Copy link
Owner

zhyocean commented Jul 18, 2020 via email

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