Skip to main content

Tutorial series

Build the clinic booking database in PostgreSQL

Design, constrain, index, migrate, secure and back up the database behind a clinic booking app, one part at a time, until it is ready for production on PostgreSQL 18.

  1. Design the clinic booking database: tables, keys and relationships

    You will turn the clinic booking app's questions into a seven-table PostgreSQL 18 schema with identity keys, UUIDv7 public IDs and foreign keys, load it from schema.sql and confirm with \d that it matches your diagram.

    Intermediate · 22 min