Saltar al contenido

app.shift_claims

TablaSeguridad a nivel de fila activa

Claims on open shifts that wait for a decision under the org's claiming rule (scheduling.open_shift_claiming approval or seniority, Section 4.5.6 item 25). Written only through app.claim_open_shift, app.decide_shift_claim, app.award_open_shift and app.withdraw_shift_claim.

Clave primaria: id

Columnas de app.shift_claims
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.shifts on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
project_iduuidNoProject of the shift.Hace referencia a app.projects.id
shift_iduuidNoOpen shift claimed.Hace referencia a app.shifts.id
membership_iduuidNoMembership of the person claiming it.Hace referencia a app.memberships.id
claim_stateapp.shift_claim_stateNoRequested, Approved, Rejected, Withdrawn or Superseded.
decided_byuuidSíPerson who approved or rejected the claim.Hace referencia a app.people.id
decided_attimestamp with time zoneSíWhen the claim was approved or rejected.
reasontextSíWhy it was rejected, withdrawn or superseded, or the approver's note.
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
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.