TechDojoPilot Cohort Week 3 · Day 11

Pilot CohortPhase 1Week 3Day 11

Databases, Data Modelling and SQL, and Your P1 App Begins

Your day, about 6 hours

  1. Learn2 hSections 4 to 9
  2. Build2 hP1 data model, then P1 app, section 10
  3. Flex1 hJournals, then your scope, section 12
  4. Stand-up1 hLive, 9 pm WAT
01

Daily theme and context

At the end of Week 2, the Tracker worked, but every change vanished when you refreshed the page. That's because the data lived in the browser's memory. This week your P1 gets a backend: a database that keeps data safe, an API that lets your app (and next week, a phone app) read and change it, sign-in, and rules about who may see what. By Friday your P1 is a real full-stack application, live on the internet.

It starts today with the part everything else stands on: the shape of your data. You'll learn how a relational database stores information in tables, how tables connect to each other, and how to talk to the database in SQL, the language almost every backend job asks for. You'll practise on the Tracker, then design the database for your own P1 and create it for real. In the second hour of the Build block, your P1 app itself begins.

This is Week 3 of the Pilot Cohort's six-week Learn phase ("Backend"), Day 11 of 30 learning days. Day 11 starts at the Monday (30 Nov) 9 pm class and is due before the Tuesday (1 Dec) 9 pm class; its work goes into Quest 3, due by Sunday 6 Dec, 11:59 pm WAT. It has four blocks, about 6 hours, done whenever suits you except the stand-up: Learn (2 hours, covered in full below), Build (2 hours, section 10: your P1 data model, then your P1 app), Flex (1 hour: journals, then your revised scope if it was sent back, section 12), and the live stand-up at 9 pm WAT (1 hour).

02

Learning objectives

By the end of today, the learner should be able to:

  1. Explain what a relational database is, and what tables, rows, columns and data types are.
  2. Explain primary keys and foreign keys, and how a foreign key connects two tables.
  3. Recognise one-to-many and many-to-many relationships, and build a many-to-many relationship with a join table.
  4. Write CREATE TABLE with constraints (not null, unique, check, references), and say what each one stops.
  5. Write INSERT, SELECT with WHERE and ORDER BY, and a JOIN across two tables.
  6. Turn user stories into a data model, draw it, and create it in a real PostgreSQL database.
  7. Create the P1 Next.js app with its main screens on sample data shaped like the tables.
03

Prerequisite knowledge

Your P1 scope document from Day 10, especially parts 3 (users and the main workflow), 4 (user stories) and 5 (MoSCoW). Day 6's objects and arrays. Day 8's Next.js app setup and TypeScript types. A GitHub account.

04

TechDojo core lesson

35 minutes

Why a database?

Week 2's Tracker kept its learners in an array in the browser. Refresh the page and every change is gone; open it on another phone and you see different data. A database is a program that runs on a server, stores data on disk so it survives, and lets many users read and change the same data at once, safely.

This week you use PostgreSQL (often just "Postgres"), the database named most often in backend job adverts, alongside MySQL. Your Postgres database is hosted by Supabase, which runs it for you on its servers for free. Supabase is the tool; SQL and data modelling are the skills, and they work the same on any Postgres server.

What Supabase is, and what we use it for. Supabase is a company that runs PostgreSQL databases for you, with a website (the dashboard) for looking after them. It also offers extras, such as a sign-in service and an automatic API. This week we use exactly two things from it: the database itself (from today) and the sign-in service (from Day 14). Everything else, the API and the rules about who may do what, you write yourself, because those are the skills employers hire for. The free plan is enough for the whole programme: up to two projects, each with a 500 MB database. A free project pauses after a week with no activity; if that happens, open it in the dashboard and press Restore. One Supabase project holds one database. You'll make one project tonight, and it becomes your P1's database for the rest of the programme.

Tables, rows and columns

A relational database stores data in tables. You already know the shape from Day 6:

Day 6 (JavaScript)                       Database
an array of learner objects        →     a table called learners
one object                         →     one row
one property, e.g. name            →     one column, e.g. full_name

The big difference: every column has a fixed data type, and the database refuses data of the wrong type. The types you'll use most:

TypeHoldsExample
textAny text'Amina Yusuf'
integerWhole numbers, up to about 2 billion. Used for ids42
booleantrue or falsetrue
dateA calendar date'2026-11-30'
timestamptzA moment in time, with time zonenow()
uuidA long random id, like 872278bf-faa4-433b-9f96-5a7bf3cbd7ebUsed for people from Day 14

In SQL, text goes in single quotes: 'Amina'. Double quotes mean something else in SQL, so don't use them for text.

Primary keys: every row has a unique id

Every table gets a primary key: a column whose value is different in every row, so one row can always be found. Usually it's a number the database counts up by itself:

id integer generated always as identity primary key

Read it as: a whole number, created automatically (1, 2, 3 …), and the primary key. You never type the id yourself; the database gives it out.

Foreign keys: how tables connect

A learner belongs to a cohort. Instead of writing the cohort's name in every learner row, the learner row stores the cohort's id:

cohorts                          learners
id | name       | starts_on      id | cohort_id | full_name
1  | Cohort 1   | 2026-11-16     1  | 1         | Amina Yusuf
                                 2  | 1         | Chidi Okafor

learners.cohort_id is a foreign key: a column that holds another table's primary key. In SQL it's written with references:

cohort_id integer not null references cohorts (id)

The database now guards the connection. It refuses a learner whose cohort_id doesn't exist, and it refuses to delete a cohort while learners still point to it. That's a feature: no learner is ever left pointing at nothing.

Relationships

Ask two questions about any two things, such as cohorts and learners: Can one cohort have many learners? Yes. Can one learner be in many cohorts? No, in the Tracker one learner is in one cohort. One "yes" means a one-to-many relationship, and the foreign key goes on the "many" side (the learner holds cohort_id).

Now learners and classes: Can one class have many learners? Yes. Can one learner attend many classes? Also yes. Two "yes" answers mean a many-to-many relationship, and no single foreign key can hold it. You make a third table, a join table, whose rows each connect one learner to one class:

learners          attendance (the join table)        classes
id | full_name    class_id | learner_id | present     id | held_on    | topic
1  | Amina        1        | 1          | true        1  | 2026-11-16 | Product discovery
2  | Chidi        1        | 2          | true        2  | 2026-11-17 | User stories
                  2        | 1          | true
                  2        | 2          | false

Notice where Week 2's present flag really belongs: not on the learner (present at what?) but on the connection between a learner and a class. That's the kind of thing a data model makes clear.

(There's also one-to-one, such as one sign-in account and one learner record. It's a foreign key marked unique, so no two rows can point to the same thing. The Tracker has one: learners.profile_id.)

One-to-manyOne "yes"

One cohort, many learners. The foreign key goes on the "many" side: learners.cohort_id.

Many-to-manyTwo "yes" answers

Many learners, many classes. A join table holds the connections: attendance.

The Tracker's full data model

Five tables:

  • profiles: one row for each person who can sign in (from Day 14), with their role: instructor or learner.
  • cohorts: each cohort.
  • learners: each learner, in one cohort. profile_id links a learner to their sign-in account, if they have one, and it's how Day 15 lets a learner see their own record and no one else's.
  • classes: each class held, for one cohort.
  • attendance: the join table between learners and classes.
The Tracker data model: five tables
  • One-to-many: one cohort has many learners (learners.cohort_id).
  • One-to-many: one cohort has many classes (classes.cohort_id).
  • Many-to-many: learners and classes, through the join table attendance.
  • One-to-one: a learner and their sign-in profile (learners.profile_id, marked unique).

PK = primary key. FK = foreign key. The arrow points to the table the key refers to.

The SQL that creates it

This is the Tracker's db/schema.sql. Read it line by line with the notes below it. You'll run it yourself in section 7.

create table profiles (
  id uuid primary key default gen_random_uuid(),
  full_name text not null,
  role text not null default 'learner' check (role in ('instructor', 'learner')),
  created_at timestamptz not null default now()
);

create table cohorts (
  id integer generated always as identity primary key,
  name text not null unique,
  starts_on date not null
);

create table learners (
  id integer generated always as identity primary key,
  cohort_id integer not null references cohorts (id),
  profile_id uuid unique references profiles (id),
  full_name text not null,
  phone text not null check (phone ~ '^[0-9]{11}$'),
  status text not null default 'active' check (status in ('active', 'inactive')),
  created_at timestamptz not null default now()
);

create table classes (
  id integer generated always as identity primary key,
  cohort_id integer not null references cohorts (id),
  held_on date not null,
  topic text not null
);

create table attendance (
  class_id integer not null references classes (id),
  learner_id integer not null references learners (id),
  present boolean not null,
  primary key (class_id, learner_id)
);

alter table profiles enable row level security;
alter table cohorts enable row level security;
alter table learners enable row level security;
alter table classes enable row level security;
alter table attendance enable row level security;
  • Constraints are rules the database enforces, so bad data can't get in, whichever app sends it. not null: this column must have a value. unique: no two rows may have the same value (no two cohorts with the same name). check (...): the value must pass this test. role in ('instructor', 'learner') allows only those two words. phone ~ '^[0-9]{11}$' is Day 7's phone rule (exactly 11 digits), now enforced by the database itself.
  • default fills a value when none is given: new learners are 'active', created_at is the moment the row was added, and a new profile gets a random uuid.
  • Profiles use a uuid id, not a counting number, because from Day 14 the sign-in service creates each person's id, and it creates uuids.
  • attendance has a two-column primary key, (class_id, learner_id): each learner appears at most once per class, so nobody can be marked twice.
  • The last five lines lock the tables. Supabase can share tables through an automatic web API, and these lines close that door: with row level security on and no rules added, nothing reaches the data through it. From tomorrow, the only way in is your own server. Day 12 explains this properly; for now, always end your schema with these lines, one per table.
  • Ids are counted (1, 2, 3 …) in the order rows are added, which is why the seed file below can use them. Run it once, on empty tables.

Putting data in: INSERT

The Tracker's db/seed.sql (test data: invented people only, never real ones):

insert into cohorts (name, starts_on) values ('Cohort 1', '2026-11-16');

insert into profiles (full_name, role) values
  ('Tunde Bello', 'instructor'),
  ('Amina Yusuf', 'learner');

insert into learners (cohort_id, profile_id, full_name, phone) values
  (1, (select id from profiles where full_name = 'Amina Yusuf'), 'Amina Yusuf', '08031234567');

insert into learners (cohort_id, full_name, phone) values
  (1, 'Chidi Okafor', '08059876543'),
  (1, 'Bisi Adeyemi', '07012345678');

insert into classes (cohort_id, held_on, topic) values
  (1, '2026-11-16', 'Product discovery'),
  (1, '2026-11-17', 'User stories'),
  (1, '2026-11-18', 'Wireframes');

insert into attendance (class_id, learner_id, present) values
  (1, 1, true),  (1, 2, true),  (1, 3, true),
  (2, 1, true),  (2, 2, false), (2, 3, true),
  (3, 1, true),  (3, 2, false), (3, 3, false);

insert into table (columns) values (...) adds rows; the values go in the same order as the columns. Leave out id, status and created_at, and the database fills them. Amina's profile_id is looked up with a small select in brackets, because her uuid is random and you can't know it in advance. Chidi and Bisi have no sign-in account yet, so their profile_id is left empty (null).

Getting data out: SELECT

-- every column of every learner
select * from learners;

-- only active learners, two columns, in alphabetical order
select full_name, phone
from learners
where status = 'active'
order by full_name;

select says which columns, from which table, where which rows, order by in what order (add desc for the reverse). Lines starting with -- are comments. One = in SQL compares (it's JavaScript's ===); combine conditions with and and or.

Across tables: JOIN

A learner row only holds cohort_id, a number. To show the cohort's name, join the two tables on the foreign key:

select learners.full_name, cohorts.name as cohort
from learners
join cohorts on cohorts.id = learners.cohort_id;

join … on … matches each learner row with the cohort row whose id equals the learner's cohort_id. table.column says which table a column comes from, and as renames a column in the result. Who missed the second class?

select learners.full_name
from attendance
join learners on learners.id = attendance.learner_id
where attendance.class_id = 2 and attendance.present = false;

Result: Chidi Okafor.

Don't store what you can calculate

Week 2's Learner type had attendance and sessions counts. In the database, those aren't stored at all: they're calculated from the attendance table whenever they're needed, so they can never be out of date:

select learners.full_name,
       count(*) as classes,
       count(*) filter (where attendance.present) as present
from learners
join attendance on attendance.learner_id = learners.id
group by learners.id, learners.full_name
order by learners.full_name;

group by makes one result row per learner, and count counts the rows in each group. Result: Amina 3 of 3, Bisi 2 of 3, Chidi 1 of 3. You don't need to write group by queries yet; recognise the idea. It's the heart of normalisation: store each fact once, in one place. If the cohort's name were typed into every learner row, renaming the cohort would mean changing every row, and missing one would leave the data contradicting itself.

From your table to your TypeScript type

Each table becomes a type in your app, with the same names. You'll use these in the Build block, and from Day 12 the rows coming from the database will have exactly this shape:

type Learner = {
  id: number;
  cohort_id: number;
  profile_id: string | null;
  full_name: string;
  phone: string;
  status: "active" | "inactive";
};
05

Video resource

15 minutes
Lucid Software, "Entity Relationship Diagram (ERD) Tutorial - Part 1" Open on YouTube
Fireship, "SQL Explained in 100 Seconds" Open on YouTube

Two short videos, about 9 minutes together. Watch the Fireship one first (2 minutes) for the big picture, then the Lucid tutorial (7 minutes) for how to draw a data model. The diagrams in the second video use crow's foot symbols: the "foot" with three prongs marks the "many" side of a relationship. Your own diagram can use the simpler arrows of the Tracker diagram in section 4, as long as each relationship says one-to-many or many-to-many. Part 2 of the Lucid tutorial (youtube.com, 14 minutes) is optional.

Guided viewing questions:

  1. What problem does a relational database solve that a single big spreadsheet doesn't?
  2. In the ERD video, what's the difference between an entity, an attribute and a relationship? Give a Tracker example of each.
  3. How does a diagram show that one cohort has many learners?
06

Reading resource

15 minutes
PostgreSQL documentation, the tutorial, sections 2.3 to 2.6postgresql.org

Read "Creating a New Table", then use the Next link at the bottom of each page for "Populating a Table With Rows", "Querying a Table" and "Joins Between Tables". In the joins section, read up to the start of outer joins and stop. The examples use weather data, but the SQL is exactly what you write today.

PostgreSQL documentation, "Foreign Keys" (section 3.3)postgresql.org

A short page: what happens when a row points to something that doesn't exist.

Guided reading questions:

  1. In the tutorial's CREATE TABLE for weather, which column types match ones in the Tracker's schema?
  2. What does SELECT DISTINCT do, and when might the Tracker need it?
  3. According to section 3.3, what does the database do when you insert a row whose foreign key points nowhere?
07

Interactive exercise

40 minutes

You'll create your P1's Supabase project now. It's the database your P1 uses for the rest of the programme. Before your P1 tables go in, you practise in it with the Tracker's tables from section 4: run them, break them on purpose, then delete them in step 5, so the project is empty and ready for your P1 in the Build block.

  1. 10 min Create your P1's Supabase project. Go to supabase.com, choose Start your project, and sign in with GitHub. Create an organisation if asked (your name, type Personal, the Free plan). Then New project:
    • Name: your P1's name, in lowercase with hyphens. For example, if your P1 is a booking app for a salon, salon-bookings.
    • Database password: press Generate a password, then save it in your password manager (or somewhere safe and private) before you go on. You'll need it on Day 12. Never put it in a chat, a screenshot or your code.
    • Region: the one closest to Nigeria in the list, such as London or Frankfurt.
    • Create it, and wait a minute or two while it starts.
    • Find your way around. The left sidebar is the dashboard's menu. Today you use the Table Editor (your tables, shown like a spreadsheet) and the SQL Editor (where you type and run SQL). Later this week you'll also use Authentication (the people who can sign in, Day 14), Project Settings (keys, Day 12) and the Connect button at the top of the page (how your app reaches the database, Day 12). You can ignore everything else in the menu.
  2. 10 min Run the Tracker's SQL. In the left sidebar, open the SQL Editor and start a new query. Type or paste the whole schema.sql from section 4 and press Run (or Ctrl+Enter). It should say "Success. No rows returned". Start a new query, paste the whole seed.sql, and run it. Open the Table Editor in the sidebar and look at each table: you should see 1 cohort, 2 profiles, 3 learners, 3 classes and 9 attendance rows.
  3. 10 min Break it on purpose. Run the six statements in the box below one at a time. Before each one, write down what you expect to happen. Then run it and copy the error's first line into your notes. Each one is stopped by a different constraint from section 4: for each error, name the constraint that stopped it, and say what bug in an app it would have prevented.
  4. 10 min Write three queries yourself and check the results against what's in the Table Editor: all classes, newest first; the names of everyone present at the first class (class_id = 1); and every learner's name with their cohort's name.
  5. Clear the practice tables. When you're done, run drop table if exists attendance, classes, learners, cohorts, profiles; to remove the Tracker tables, so your project is empty for your P1. Supabase warns that this is destructive and asks you to confirm. That's right here: it's practice data.

The six statements for step 3:

insert into learners (cohort_id, full_name, phone) values (99, 'Ghost', '08000000000');
insert into learners (cohort_id, full_name, phone) values (1, 'Short Phone', '0803');
insert into attendance (class_id, learner_id, present) values (1, 1, false);
delete from cohorts where id = 1;
insert into profiles (full_name, role) values ('Someone', 'admin');
insert into learners (cohort_id, phone) values (1, '08000000000');
08

AI-assisted learning prompt

Use your AI assistant as a reviewer of your data model, not its author:

Prompt

Here are my user stories and my database tables for a small app: [paste your Must-have user stories and your schema.sql]. Don't rewrite my SQL. For each user story, tell me whether my tables can answer it, and if not, what's missing. Then point out any fact I store twice, any column that should be required, and any relationship I've got the wrong way round. Ask me questions where you're unsure what I meant.

Check every suggestion against your scope document before changing anything; the assistant doesn't know your users. Log it in your AI-use journal: what it said, what you changed, and what you rejected and why.

09

Knowledge check

15 minutes

A self-check: do it without notes and without AI, then compare with section 4. It isn't submitted.

  1. What's the difference between a primary key and a foreign key? Give one of each from the Tracker.
  2. A shop has customers and orders. Which table gets the foreign key, and why there?
  3. Students can join many clubs, and clubs have many students. How do you store that, and what's the extra table's primary key?
  4. Name the constraint that stops each of these: two cohorts with the same name; a learner with no name; a role of 'boss'; a learner in a cohort that doesn't exist.
  5. Why does the Tracker database not store each learner's attendance percentage?
  6. Write a query for the full names of active learners in cohort 1, in alphabetical order.
  7. Why do people get a uuid id in profiles, while cohorts get counting numbers?
10

Build block: your P1 data model, then your P1 app

2 hours

First hour: the P1 data model. Do this first: it matters more than screens, and everything this week builds on it. Follow these seven steps with your scope document open.

  1. List your Must-have user stories (scope part 5). They're what you build in Weeks 3 to 6, so they're what your database must support.
  2. Find the things. Underline the nouns in your stories. Things your product keeps track of become tables (orders, fabrics, bookings). Details of a thing become columns (an order's status, a fabric's price).
  3. Write each table's columns: an id, then the columns your stories need, each with its type and whether it's required (not null). Add a check wherever only certain values make sense.
  4. Connect the tables. For each pair of tables that relate, ask the two questions from section 4. One "yes": a foreign key on the "many" side. Two "yes" answers: a join table.
  5. People and roles. Every kind of user who signs in (scope part 3) becomes a row in a profiles table, with a role column limited by a check to your roles. Any record that belongs to a person, such as a customer's order, gets a column pointing to that person's profile (customer_id uuid not null references profiles (id)). Day 15 uses it so people only see what's theirs.
  6. Don't store what you can calculate, such as totals, counts and percentages.
  7. Test it with one story. Pick your main story and write the select that would answer it. If you can't, a table or column is missing.

A worked example: Adunni Fabrics (the made-up shop from our classes). Stories: "As a customer, I can order several fabrics, so I can buy everything in one go"; "As the owner, I can see each order and what's in it, so I can prepare it"; "As the owner, I can see stock for each fabric, so I know what to restock." The things: customers, the owner, fabrics, orders. One order holds many fabrics, and one fabric appears in many orders: two "yes" answers, so a join table, order_items, which also holds how many yards. Orders belong to a customer.

create table profiles (
  id uuid primary key default gen_random_uuid(),
  full_name text not null,
  role text not null default 'customer' check (role in ('owner', 'customer'))
);

create table fabrics (
  id integer generated always as identity primary key,
  name text not null,
  price_per_yard integer not null check (price_per_yard > 0),
  yards_in_stock integer not null default 0 check (yards_in_stock >= 0)
);

create table orders (
  id integer generated always as identity primary key,
  customer_id uuid not null references profiles (id),
  status text not null default 'new' check (status in ('new', 'paid', 'collected')),
  created_at timestamptz not null default now()
);

create table order_items (
  order_id integer not null references orders (id),
  fabric_id integer not null references fabrics (id),
  yards integer not null check (yards > 0),
  primary key (order_id, fabric_id)
);

alter table profiles enable row level security;
alter table fabrics enable row level security;
alter table orders enable row level security;
alter table order_items enable row level security;

Prices are whole naira in an integer, because decimals in money cause rounding errors. The order's total isn't stored: it's calculated from order_items and fabrics (step 6). Tracking whether an order is paid is fine; taking payments isn't part of P1.

How the Tracker maps to your P1:

TrackerAdunni FabricsYour P1
learners (the main thing tracked)ordersThe main thing your users keep track of
cohorts (a group the main thing belongs to)(none needed)A grouping, only if your stories need one
attendance (join table, with present)order_items (join table, with yards)Any many-to-many, with the detail that belongs to the connection
profiles with instructor / learnerprofiles with owner / customerYour roles from scope part 3
learners.profile_idorders.customer_idThe column that says whose record it is

Second hour: create the P1 app. The same steps as Day 8, now for your own product:

  1. Outside your other project folders, run npx create-next-app@latest your-p1-name and accept the recommended options. On Windows, if PowerShell blocks npx, use Git Bash or the Command Prompt (Day 8).
  2. Create an empty GitHub repository for it and push (Day 8 section 10 has the commands).
  3. Make a db folder in the project and save your schema.sql and seed.sql in it. Your database design now lives in Git, next to your code.
  4. Clear the starter content. Add a layout with <nav>, <main> and <footer> (Day 8), and a page for each Must-have screen (Day 10's routes).
  5. In lib/types.ts, write one TypeScript type per table, as in section 4's Learner type. In lib/sample-data.ts, put a few sample rows with exactly those column names, and show them on your screens. On Day 12 the sample data is replaced by real data from your database, and because the shapes match, your screens won't need to change.

Your AI coding assistant may write the screens and components in this hour. Read every file it creates, check that the column names match your types, and log what you changed in your AI-use journal.

11

If it breaks

These came up when we tested today's steps. Find your error here first, then post it in the cohort group if it isn't here (paste the exact error message, not a description).

  • relation "profiles" already exists: you ran the schema twice. Run the drop table if exists … line for your tables, then run the schema once.
  • duplicate key value violates unique constraint "cohorts_name_key" (or your own table's name) when running the seed: you ran the seed twice. Drop the tables, run the schema, then the seed, once each.
  • syntax error at or near …: look just before the word it names. The usual causes are a missing comma between columns, a comma after the last column (not allowed, just like JSON on Day 7), or text in double quotes instead of single quotes.
  • relation "cohorts" does not exist while creating learners: tables must be created before a table that references them. Put the referenced table first in your file. Dropping goes the other way: drop table if exists with the join tables first.
  • insert or update on table … violates foreign key constraint when seeding: an id you typed doesn't exist yet. Insert the "one" side (cohorts, fabrics) before the "many" side, and remember ids start at 1 only on freshly created tables.
  • The SQL Editor asks you to confirm a "destructive operation": that's Supabase checking before a drop or delete. Confirm only if you mean it.
  • Can't find the generated database password later: in your project, open Project Settings, then Database, and reset the password. Nothing else breaks today, because nothing uses it yet.
  • The project is still starting: new projects take a minute or two. Refresh the page.
12

Flex hour: journals, then your scope

  • Journals first (section 14).
  • If your P1 scope was sent back, the revised version is due before the Tuesday 1 Dec, 9 pm class. Update your data model if the revision changed your Must-have stories.
  • Then catch up on anything unfinished from the Build block, data model first.
13

Deliverables and submission criteria

Write section A (Data model) of your P1 Backend Pack. It's handed in with the whole Pack by Sunday 6 Dec, 11:59 pm WAT. Section A should have:

0 of 8 ticked Ticks are saved on this device only.

14

Daily journal reflection

Add today's entry to your three running journals (they go at the end of your Backend Pack):

  • Engineering journal: Which part of your data model took longest to decide, and what did you choose? Which error from the SQL Editor surprised you? Estimate vs actual: your estimate for today against the time it took.
  • AI-use journal: The data model review prompt: what it found, what you changed, and what you rejected.
  • Curriculum journal: Was anything in today's lesson unclear, or did you have to look anything up elsewhere? Say exactly what, so we can add it to the page.