What the database says — and the query that proves it
Everything here is read straight from setuhaul_freight_operations.db (18 tables, 4 views, 4 Aug 2026). Every insight and every one of the 36 audit findings shows its SQL. Press Run live to execute it in your browser against the same file, or edit it.
Headline insights
Six questions a head of operations would ask about 4 August, answered from the data.
The 36 audit findings
Each finding names the gap, why it matters on the dock, the fix built into SetuHaul, and the proof query with its result. About 15 are new compared with both earlier designs.
Findings by area click to filter
The five critical ones
SQL console
Ask your own question. Click a table to start from it, or pick a sample. Ctrl + Enter runs. Read-only: it runs on a fresh in-memory copy each page load.
Schema
The entity model
Follow one shipment from the driver, through the vehicle, to a facility, a dock, a slot and an appointment. Hover a table to see its links, click it to open its rows, click a relationship to see the join and its data. FK values in the data grid are links — click one to jump to the row it points at.
Proposed database additions
What the supplied 18 tables cannot hold: the driver's language and consent, GPS positions and live trip status, the automated message series, holds and history for safe booking, and the commercial clocks (detention, e-way bill). Each table says why it is needed, what it links to, and when it lands. Click a box on the map to jump to its definition.
Changes to existing tables
Watch: Data Insights in two minutes
A narrated tour of this page — the snapshot, the critical findings run live, the SQL console, the entity model and the proposed tables.
1:58 · female voice-over · 1080p. The full 3-minute walkthrough of the portal is on the Home page.