~/talk

Data modeling with PostgreSQL at the core of Software Development

slides:none on file

Builds a working chess-tournament schema in PostgreSQL that enforces rules in the database so less app code is needed: a chess.players table with surrogate integer IDs, a function-based unique index using lower(name) to prevent case collisions, a chess.games table with foreign keys to players and tournaments and a uniqueness constraint preventing duplicate white/black in the same tournament phase, and a custom enum score type for results. All SQL is tested on Postgres 18 and the schema was used in a real tournament last year.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:48Chess tournament use case
  3. 4:13Designing the players table
  4. 9:51Data integrity with constraints
  5. 12:19Modeling game results with enums
  6. 16:30Applying data modeling principles
  7. 18:58Adding tournament phases
  8. 21:44Evolving the design
  9. 23:07Closing and key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.