From d1af440966fb9ca8daa51b319118f99f2d4d5e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20R=C3=B6nnb=C3=A4ck?= Date: Tue, 8 Sep 2026 14:57:29 +0200 Subject: [PATCH] schema: correct slim-projection count in header comment The transactions table keeps 9 of the 16 source fields; the dropped list also includes Card type (equals Card number in all samples, per readme). Header said 10 and omitted Card type. --- Documentation/schema.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/schema.sql b/Documentation/schema.sql index 2ccde5d..a88a999 100644 --- a/Documentation/schema.sql +++ b/Documentation/schema.sql @@ -15,10 +15,10 @@ -- cleartext on purpose: customers retrieve it in the portal, and -- the cards are only used on-site at the station, so the risk is -- accepted. --- - transactions is a SLIM PROJECTION (10 of 16 source fields): --- QualityName, Station, Terminal, Pump, Card report group number --- and Control number are dropped. The files table (full byte --- content) is the canonical archive; the ledger keeps only what +-- - transactions is a SLIM PROJECTION (9 of 16 source fields): +-- QualityName, Card type, Station, Terminal, Pump, Card report +-- group number and Control number are dropped. The files table (full +-- byte content) is the canonical archive; the ledger keeps only what -- application features query. -- - Customer business key is the register customer number, stored as -- a STRING in both customers.external_id and