Lesson 2: The Game's Memory - SQL Database Design & ERDs
Part 1: Entity-Relationship Diagrams (ERDs)
What are Entity-Relationship Diagrams?
Entity-Relationship Diagrams (ERDs) are visual blueprints that show how different pieces of data relate to each other in a database system. Think of them as the "architectural plans" for organizing all the information in Dead by Daylight.
Key Components:
- Entities: Things we want to store data about (Killers, Survivors, Perks)
- Attributes: Properties of entities (Name, Power, Speed)
- Relationships: How entities connect to each other (Killer "has" Perks)
Dead by Daylight ERD Example
Let's design an ERD for the core DbD game elements using an interactive diagram: