Skip to content

app.comment_threads

TableRow level security on

Comment threads on any subject row (Section 7.3: one unified comment system). A subject has its main thread and may have anchored threads, for example on a field or a passage of a document. Readable by whoever can read the subject.

Primary key: id

Columns of app.comment_threads
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOrg of the subject, derived from it on insert; never accepted from the caller.References app.organizations.id
subject_tabletextNoTable of the subject.References private.comment_subjects.table_name
subject_iduuidNoRow the thread is about.
anchortextYesWhat part of the subject the thread is anchored to, or null for the main thread.
resolved_attimestamp with time zoneYesWhen the thread was resolved.
resolved_byuuidYesWho resolved it, set from the session.References app.people.id
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
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.