Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-local_hshexport
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-local_hshexport
Wiki
database tables
Changes
Page history
New page
Templates
Clone repository
Update database tables
authored
10 months ago
by
Elke Kreim
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
database-tables.md
+22
-0
22 additions, 0 deletions
database-tables.md
with
22 additions
and
0 deletions
database-tables.md
View page @
343c3866
...
...
@@ -72,5 +72,27 @@ Indexes:
"mdl_roleassi_useconrol_ix"
btree
(
userid, contextid, roleid
)
```
### mdl_context
```
bash
Table
"public.mdl_context"
Column | Type | Collation | Nullable | Default
--------------
+------------------------+-----------+----------+-----------------------------------------
id
| bigint | | not null | nextval
(
'mdl_context_id_seq'
::regclass
)
contextlevel | bigint | | not null | 0
instanceid | bigint | | not null | 0
path | character varying
(
255
)
| | |
depth | smallint | | not null | 0
locked | smallint | | not null | 0
Indexes:
"mdl_cont_id_pk"
PRIMARY KEY, btree
(
id
)
"mdl_cont_conins_uix"
UNIQUE, btree
(
contextlevel, instanceid
)
"mdl_cont_ins_ix"
btree
(
instanceid
)
"mdl_cont_pat_ix"
btree
(
path
)
"mdl_cont_pat_ix_pattern"
btree
(
path varchar_pattern_ops
)
```
This diff is collapsed.
Click to expand it.