Coding standards
Security in ResourceSpace
Developer reference
Database

Table: comment

Resource comments.

ColumnTypeNote
refint(11)Auto incrementing index
ref_parentint(11)Parent comment reference
createdtimestamp
hideint(1)(boolean) Hide comment?
collection_refint(11)See table collection
resource_refint(11)See table resource
user_refint(11)See table user
fullnamevarchar(100)External commenter's full name (anonymous access)
emailvarchar(100)Commenter's email (anonymous access)
website_urltextCommenter's website link (anonymous access)
bodytextComment text
annotationint(11)Link an annotations' text with a resource comment (if $annotate_text_adds_comment enabled)

This table is empty by default.

Please see the schema overview for context. This document was last updated on the 5th of September 2026 at 21:35 (Europe/London time).