Post Table Schema (post)


Generic post table to hold data blog entries etc in different modules

post table columns

Column Type Size Nulls Auto Default Children Parents Comments
id BIGINT 19 null
blog_association.blogid blogasso_blo2_fk R
module VARCHAR 20
userid BIGINT 19 0 Implied Constraint R
courseid BIGINT 19 0 Implied Constraint R
groupid BIGINT 19 0
moduleid BIGINT 19 0
coursemoduleid BIGINT 19 0 Implied Constraint R
subject VARCHAR 128
summary LONGTEXT 2147483647 null
content LONGTEXT 2147483647 null
uniquehash VARCHAR 255
rating BIGINT 19 0
format BIGINT 19 0
summaryformat TINYINT 3 0
attachment VARCHAR 100 null


publishstate VARCHAR 20 draft
lastmodified BIGINT 19 0
created BIGINT 19 0
usermodified BIGINT 19 null post_use2_fk R

Table contained -1 rows

post table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
post_iduse_uix Must be unique Asc/Asc id + userid
post_las_ix Performance Asc lastmodified
post_mod_ix Performance Asc module
post_sub_ix Performance Asc subject
post_use_ix Performance Asc usermodified

post table relationships