Welcome Guest, Not a member yet? Register   Sign In
db scheme question...
#1

[eluser]crumpet[/eluser]
Hi, I am working with a website where there are many different content types ie survey, article, news, etc. I want each of these to have a comments feature. Is there any problem with creating one comments table which has a field called type (survey, article, news) and then parentID and then comment ID. This way I dont have to create a comments table for every single content type.

Any problems that you can for see with this approach ? will it be slow?

Thanks,


Messages In This Thread
db scheme question... - by El Forum - 12-12-2008, 05:31 PM
db scheme question... - by El Forum - 12-12-2008, 05:37 PM
db scheme question... - by El Forum - 12-12-2008, 05:47 PM
db scheme question... - by El Forum - 12-12-2008, 11:47 PM
db scheme question... - by El Forum - 12-13-2008, 12:06 AM
db scheme question... - by El Forum - 12-13-2008, 12:12 AM
db scheme question... - by El Forum - 12-13-2008, 12:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB