Repository plugins database: Difference between revisions
From MoodleDocs
Repository plugins
Created page with "== repository == {| border="1" cellpadding="2" cellspacing="0" |'''Field''' |'''Type''' |'''Default''' |'''Info''' |- |'''id''' |int(10) | |autoincrementing |- |'''type''..." |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Repository plugins}} | |||
== repository == | == repository == | ||
Latest revision as of 11:48, 5 December 2012
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 |