Skip to content

app.dock_slots

TableRow level security on

Booked windows at a loading dock zone. Slots at one dock never overlap.

Primary key: id

Columns of app.dock_slots
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.References app.organizations.id
project_iduuidNoProject.References app.projects.id
zone_iduuidNoDock zone booked.References app.zones.id
shipment_iduuidYesShipment of the same project using the slot.References app.shipments.id
starts_attimestamp with time zoneNoSlot start.
ends_attimestamp with time zoneNoSlot end.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
checked_in_attimestamp with time zoneYesWhen the shipment checked in at the dock, stamped once with the database time.
checked_in_byuuidYesWho checked the shipment in, stamped once with the session person.References app.people.id
engagement_iduuidYesVendor engagement of the same project the slot serves, when one does.References app.engagements.id