Comments Table Schema (comments)


Description

moodle comments module

comments table columns

Column Type Size Nulls Auto Default Children Parents Comments
id bigint 10 null
contextid bigint 10 null
context.id Implied Constraint R
component varchar 255 null

The plugin this comment belongs to.

commentarea varchar 255
itemid bigint 10 null
content longtext 2147483647 null
format tinyint 2 0
userid bigint 10 null
user.id Implied Constraint R
timecreated bigint 10 null

Table contained -1 rows

comments table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id

comments table relationships