PrepCity

Data modeling and schema design

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 10 pages · about 6 min

Data modeling and schema design

Keys, references and constraints come from the rules the data must keep; indexes come from the questions it must answer; changes roll out so old and new code can overlap.

Words you’ll learn

  • Primary
  • API
  • Row
  • PostgreSQL
  • Replica
  • Checkpoint

Page by page