Saltar al contenido

app.attachments

TablaSeguridad a nivel de fila activa

Files attached to a subject row (Section 7.3). Each attachment has numbered versions; the newest Clean version is the current file. Readable by whoever can read the subject.

Clave primaria: id

Columnas de app.attachments
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOrg of the subject, derived from it on insert; never accepted from the caller.Hace referencia a app.organizations.id
subject_tabletextNoTable of the subject.Hace referencia a private.comment_subjects.table_name
subject_iduuidNoRow the file is attached to.
titletextNoDisplay name, the first version's file name unless renamed.
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.
classificationapp.data_classificationNoClassification of the file (Section 8.6): Public, Internal (the default), Confidential or Restricted. It decides who may download it, whether it may be shared by link and whether the copy carries a watermark. Anyone who can read the file may raise it; lowering it needs the uploader or data.classification.write.