Lesson 2 of 12 · Design
Modeling the data: SQL schema, relationships and migrations
Objective
Turn the requirements of the MasterLinux shop into a solid PostgreSQL schema: the tables, their relationships, the constraints that protect the data, the indexes that speed up queries, and numbered migrations that evolve the database without ever recreating it by hand.
This lesson is part of the full course
Unlock Fullstack Project: the MasterLinux Shop, a Marketplace from A to Z to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.