Warehouse schema for an online store
Designed a normalized PostgreSQL schema for orders, customers, products and shipments from an ER diagram, then a star schema on top of it for reporting. Chose the indexes from the actual query log, wrote the data dictionary, and documented the three decisions I would make differently with more volume.