isonuZ Posted May 28, 2012 Share Posted May 28, 2012 Hello, I need help knowing if I messed up this database. This is supposed to be for a forum as you may have noticed. Also, can someone explain the "Cascade on delete" etc etc etc when creating a relation? Thanks, isoZ Link to comment https://forums.phpfreaks.com/topic/263279-does-this-database-structure-seems-right/ Share on other sites More sharing options...
Barand Posted May 29, 2012 Share Posted May 29, 2012 Cascade on delete - when deleting a "parent" record all related "child" records are deleted also. For example, if you delete a user then all their posts would be deleted. Are you sure a post has many threads? I would have thought it should be the other way round. Also doesn't a forum have many threads, whereas you have a thread having many sections. Link to comment https://forums.phpfreaks.com/topic/263279-does-this-database-structure-seems-right/#findComment-1349388 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.