Update to match postgres/tables.sql