Folder Table Schema (folder)


Description

each record is one folder resource

folder table columns

Column Type Size Nulls Auto Default Children Parents Comments
id bigint 10 null
course bigint 10 0
name varchar 255
intro longtext 2147483647 null
introformat smallint 4 0
revision bigint 10 0

incremented when after each file changes, solves browser caching issues

timemodified bigint 10 0
display smallint 4 0

Display type of folder contents - on a separate page or inline

showexpanded BIT 1 1

1 = expanded, 0 = collapsed for sub-folders

showdownloadfolder BIT 1 1

1 = show download folder button

Table contained -1 rows

folder table indexes

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