Lesson, 18 minutes

Sketch a data model before you build

Step 1 of 5

Why it matters

Draw what a system stores as data tables, and join them with one and many ends.

Every system that keeps records has a data model, whether or not anyone drew it. When nobody draws it, each person carries a different one in their head.

The gaps show up late: an order that cannot hold two addresses, or a price that changes on old invoices. By then real records exist, and the fix is slow and risky.

A sketch on a board takes an hour. The people who know the work and the people who build the system agree what is stored. A change is still a drag and a click.

What you will learn

  1. List the things
  2. Add the fields
  3. Join with one and many
  4. Test with real cases

Take this lesson with Solo and Team

£6 a seat a month, inc VAT, after 7 days free. You get the whole academy during your free trial.

Start your free trialSign in