Someone told me that a bad design has loops in the datamodel. I had heard this a couple of times before, but didn't pay much attention. For example, you have User, Project, Activity objects. The project belongs to the user, so we have a one-to-many relationship from the user to the project. An activity can be assigned to one user, another one-to-many relationship from user to activity. Of course, a project is determined by a set of actions, other one-to-many relationships from project to activity. Thus, a cycle is formed.
I asked this guy why this is a bad design, but he told me that he also does not know, he was also told that the monkey is better at learning from this.
I tried to search, but I think I did not use the correct words, however this seems to me to be something that should be fundamental for someone trying to create a database.
So, can someone give me some useful information on loops / loops in er / db diagrams, should I avoid them?
database loops database-design data-modeling entity-relationship-model
pgpb.padilla Nov 13 '11 at 23:45 2011-11-13 23:45
source share