Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Repository plugins database

From MoodleDocs
Revision as of 11:48, 5 December 2012 by David Smith 2 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

repository

Field Type Default Info
id int(10) autoincrementing
type varchar(255) The type of the repository
visible tinyint(1)
sortorder int(10)

repository_instances

This table contains one entry for every configured external repository instance.

Field Type Default Info
id int(10) autoincrementing
name varchar 255 A custom name for this repository (non-unique)
typeid int(10) The id of repository type
userid int(10) The person who created this repository instance
contextid int(10) The context that this repository is available to ( = system context for site-wide ones)
username varchar(255) username to log in with, if required (almost never!)
password varchar(255) password to log in with, if required (almost never!)
timecreated int(10) The time this repository was created
timemodified int(10) The last time the repository was modified

repository_instance_config

Field Type Default Info
id int(10) autoincrementing
instanceid int(int)
name varchar(255)
value Text