Bronze, Silver, Gold: A Layered Data Architecture in PostgreSQL

The medallion architecture maps cleanly onto PostgreSQL. Each layer has a single concern, with transitions being where the interesting engineering lives