Skip to content

app.availability_blocks

TableRow level security on

Periods on an availability calendar. Others see the period and kind through api_external; the note is the owner's alone.

Primary key: id

Columns of app.availability_blocks
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidYesOrg of the calendar, derived from it; NULL on the person's own calendar.References app.organizations.id
availability_calendar_iduuidNoCalendar.References app.availability_calendars.id
starts_attimestamp with time zoneNoStart.
ends_attimestamp with time zoneNoEnd.
availability_kindapp.availability_kindNoAvailable, Unavailable or Tentative.
notetextYesPrivate note of the owner.
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