Skip to content

booking_tenancy_takeovers

Tenancy takeovers: a request to hand a booking’s tenancy to a replacement tenant, one row per takeover, withdrawn and completed ones included. The replacement booking is in booking_booking_relationships (reason tenancy_takeover, source_booking_id = booking_id). Scoped to client workspaces.

Column Description
id Unique identifier for the tenancy takeover
workspace_id Identifier of the workspace the booking belongs to; matches workspaces.id
booking_id Identifier of the original booking being taken over; matches bookings.id
status Takeover status: requested, pending, completed or withdrawn
reason Reason the tenant is leaving, from the takeover reasons list
note Optional free text from the user who requested the takeover
available_from Date the unit is available to the replacement tenant (booking start, or the requested leave date)
original_rate_cents Original booking’s contracted accommodation rate, in cents
original_rate_currency Currency of original_rate_cents
original_rate_interval Interval original_rate_cents is charged per (e.g. week, month)
live_rate_cents Product’s live rate when the takeover was requested, in cents
live_rate_currency Currency of live_rate_cents
live_rate_interval Interval live_rate_cents is charged per (e.g. week, month)
requested_by Actor who requested the takeover
requested_via Channel the takeover was requested through: api, pms or mcp
requested_at Timestamp when the takeover was requested
withdrawn_at Timestamp when the takeover was withdrawn (NULL unless withdrawn)
withdrawal_reason Why the takeover was withdrawn
replacement_lead_id Identifier of the replacement tenant’s lead; matches inquiries.id (NULL until one is added)
completed_at Timestamp when the takeover completed
created_at Timestamp when the takeover was created
updated_at Timestamp when the takeover was last updated, including status changes
timestamp Timestamp of the latest dlt load for this table