Saltar al contenido

app.time_off_requests

TablaSeguridad a nivel de fila activa

Requests for time off under a policy. The requester cannot approve their own request (sod_time_off_requester).

Clave primaria: id

Columnas de app.time_off_requests
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.time_off_policies on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
time_off_policy_iduuidNoPolicy the time off is taken under.Hace referencia a app.time_off_policies.id
membership_iduuidNoMembership of the person requesting.Hace referencia a app.memberships.id
starts_ondateNoFirst day off.
ends_ondateNoLast day off.
hoursnumericNoHours requested.
time_off_stateapp.time_off_stateNoRequest state. Changes only through app.decide_time_off and app.cancel_time_off.
deleted_attimestamp with time zoneSíSoft 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_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id