<FIELDNAME="name"TYPE="char"LENGTH="128"NOTNULL="false"SEQUENCE="false"COMMENT="Name of this level set"/>
<FIELDNAME="parent_id"TYPE="int"LENGTH="10"NOTNULL="false"SEQUENCE="false"COMMENT="Optional parent for this level set (references another level set)"/>
<KEYNAME="parent_id_idx"TYPE="foreign"FIELDS="parent_id"REFTABLE="block_gradelevel_levelset"REFFIELDS="id"COMMENT="Parent index for nested levelsets"/>
<FIELDNAME="levelset_id"TYPE="int"LENGTH="10"NOTNULL="true"SEQUENCE="false"COMMENT="Reference to specific levelset"/>
<FIELDNAME="points"TYPE="int"LENGTH="10"NOTNULL="true"DEFAULT="0"SEQUENCE="false"COMMENT="Number of points needed to reach this level"/>
<FIELDNAME="badgecolor"TYPE="char"LENGTH="10"NOTNULL="false"SEQUENCE="false"COMMENT="Color of the level badge. Leave null to use default color (of the levelset 0 set)"/>
</FIELDS>
<KEYS>
<KEYNAME="primary"TYPE="primary"FIELDS="id"/>
<KEYNAME="levelset_id_idx"TYPE="foreign"FIELDS="levelset_id"REFTABLE="block_gradelevel_levelset"REFFIELDS="id"COMMENT="Index for levelset reference"/>
</KEYS>
</TABLE>
<TABLENAME="block_gradelevel_course_link"COMMENT="Link courses to level sets">