Codeblix / data workspace
DB06 · Relational import and recovery demo
An inspectable database delivery slice

Relationships before row counts

Three client records and three project records define the parent keys. Six incoming time entries must pass the same identity, relationship and numeric rules before a batch can be committed.

Incoming rows6
Ready / held2 / 4
Accepted value · USD320.00
Committed rows0

A small model with explicit keys

ClientPK client_iddisplay_nameC10 / C20 / C30
ProjectPK project_idFK client_id → Clienthourly_rate_cents
Time entryUNIQUE external_idFK project_id → Projecthours_hundredths
Client → Project → Time entry. A missing project cannot become a valid reference merely because its text appears in an imported cell.
Project master · rates fixed for this example
ProjectClient keyRate USD/h
P10 · PortalC1080.00
P11 · CatalogueC10100.00
P20 · SchedulingC2090.00

What the acceptance review checks

IdentityOne external ID per entry
RelationshipKnown project and client
PrecisionPositive hours, max 2 decimals
BoundaryProject belongs to selected client
CommitCurrent preview + owner approval

ImportBatch, validation decisions and an audit event retain the revision, held-row reasons and committed row identifiers.