Mnetservice Enrol Courses Table Schema (mnetservice_enrol_courses)


Description

Caches the information fetched via XML-RPC about courses on remote hosts that are offered for our users

mnetservice_enrol_courses table columns

Column Type Size Nulls Auto Default Children Parents Comments
id bigint 10 null

Unique remote-course ID

hostid bigint 10 null

The id of the remote MNet host

remoteid bigint 10 null

ID of course on its home server

categoryid bigint 10 null

The id of the category on the remote server

categoryname varchar 255
sortorder bigint 10 0
fullname varchar 254
shortname varchar 100
idnumber varchar 100
summary longtext 2147483647 null
summaryformat smallint 3 0

Format of the summary field

startdate bigint 10 null
roleid bigint 10 null
role.id Implied Constraint R

The ID of the role at the remote server that our users will get when we enrol them there

rolename varchar 255

The name of the role at the remote server that our users will get when we enrol them there

Table contained -1 rows

mnetservice_enrol_courses table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
mnetenrocour_hosrem_uix Must be unique Asc/Asc hostid + remoteid

mnetservice_enrol_courses table relationships