Join us as we expose database design anti-patterns. We'll model a shoe store and show both a simple design with flaws and more flexible alternatives. We'll discuss how to represent trees, and see that the simplest solution is the hardest to query. We'll explore scenarios where a polymorphic relationship looks like a good choice, but isn't (and one where it is). Learn these pitfalls, and save yourself from sloppy querying and poor performance
To provide the best experiences, the usage of cookies are necessary. Some are essential for the proper functioning of the site, while others help us better cater to your interests.