Quick Navigation
×
Moodle 4.0 XRef and Diffs
Home
Quick Navigation
Moodle 4.0
Classes
Functions
Variables
Constants
Namespaces
Statistics
Moodle 4.0 Database Schema
Versions
Moodle 4.3
Moodle 4.2
Moodle 4.1
Moodle 4.0
Moodle 3.11
Moodle 3.10
Moodle 3.9
Classes
Functions
Variables
Constants
Tables
Namespaces
Search
Search moodle.org's
Developer Documentation
Search
See Release Notes
Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.
Moodle 4.0 Database Schema (by Marcus Green)
sqlarr
[
Top level directory
]
Variable Cross Reference
at:
/lib/ddl/database_manager.php
->
line 121
/lib/ddl/database_manager.php
->
line 329
/lib/ddl/database_manager.php
->
line 417
/lib/ddl/database_manager.php
->
line 443
/lib/ddl/database_manager.php
->
line 466
/lib/ddl/database_manager.php
->
line 517
/lib/ddl/database_manager.php
->
line 544
/lib/ddl/database_manager.php
->
line 568
/lib/ddl/database_manager.php
->
line 593
/lib/ddl/database_manager.php
->
line 656
/lib/ddl/database_manager.php
->
line 700
/lib/ddl/database_manager.php
->
line 754
/lib/ddl/database_manager.php
->
line 773
/lib/ddl/database_manager.php
->
line 797
/lib/ddl/database_manager.php
->
line 824
/lib/ddl/database_manager.php
->
line 864
/lib/ddl/database_manager.php
->
line 896
/lib/ddl/database_manager.php
->
line 1206
/lib/ddl/database_manager.php
->
line 1207
/lib/adodb/drivers/adodb-postgres64.inc.php
->
line 826
/lib/adodb/adodb.inc.php
->
line 1198
/lib/adodb/drivers/adodb-oci8po.inc.php
->
line 45
/admin/tool/xmldb/actions/check_defaults/check_defaults.class.php
->
line 168
/admin/tool/xmldb/actions/check_defaults/check_defaults.class.php
->
line 176
/lib/adodb/drivers/adodb-csv.inc.php
->
line 131
/lib/ddl/postgres_sql_generator.php
->
line 101
/lib/ddl/postgres_sql_generator.php
->
line 102
/admin/tool/xmldb/actions/check_bigints/check_bigints.class.php
->
line 116
/admin/tool/xmldb/actions/check_bigints/check_bigints.class.php
->
line 121
/lib/ddl/mysql_sql_generator.php
->
line 224
/lib/ddl/mysql_sql_generator.php
->
line 357
/lib/ddl/mysql_sql_generator.php
->
line 384
/lib/ddl/mysql_sql_generator.php
->
line 386
/lib/ddl/mssql_sql_generator.php
->
line 182
/lib/adodb/drivers/adodb-mssql.inc.php
->
line 612
/lib/adodb/drivers/adodb-oci8.inc.php
->
line 1016
/lib/ddl/oracle_sql_generator.php
->
line 198
/lib/ddl/oracle_sql_generator.php
->
line 199
/lib/ddl/oracle_sql_generator.php
->
line 211
/admin/tool/xmldb/actions/check_indexes/check_indexes.class.php
->
line 173
/admin/tool/xmldb/actions/check_indexes/check_indexes.class.php
->
line 176
/lib/adodb/drivers/adodb-postgres7.inc.php
->
line 253
Referenced 108 times:
/lib/ddl/database_manager.php
->
line 76
/lib/ddl/database_manager.php
->
line 77
/lib/ddl/database_manager.php
->
line 121
/lib/ddl/database_manager.php
->
line 125
/lib/ddl/database_manager.php
->
line 329
/lib/ddl/database_manager.php
->
line 332
/lib/ddl/database_manager.php
->
line 417
/lib/ddl/database_manager.php
->
line 427
/lib/ddl/database_manager.php
->
line 443
/lib/ddl/database_manager.php
->
line 446
/lib/ddl/database_manager.php
->
line 466
/lib/ddl/database_manager.php
->
line 469
/lib/ddl/database_manager.php
->
line 517
/lib/ddl/database_manager.php
->
line 521
/lib/ddl/database_manager.php
->
line 544
/lib/ddl/database_manager.php
->
line 547
/lib/ddl/database_manager.php
->
line 568
/lib/ddl/database_manager.php
->
line 572
/lib/ddl/database_manager.php
->
line 593
/lib/ddl/database_manager.php
->
line 597
/lib/ddl/database_manager.php
->
line 656
/lib/ddl/database_manager.php
->
line 660
/lib/ddl/database_manager.php
->
line 700
/lib/ddl/database_manager.php
->
line 704
/lib/ddl/database_manager.php
->
line 754
/lib/ddl/database_manager.php
->
line 758
/lib/ddl/database_manager.php
->
line 773
/lib/ddl/database_manager.php
->
line 777
/lib/ddl/database_manager.php
->
line 797
/lib/ddl/database_manager.php
->
line 801
/lib/ddl/database_manager.php
->
line 824
/lib/ddl/database_manager.php
->
line 829
/lib/ddl/database_manager.php
->
line 836
/lib/ddl/database_manager.php
->
line 864
/lib/ddl/database_manager.php
->
line 868
/lib/ddl/database_manager.php
->
line 896
/lib/ddl/database_manager.php
->
line 900
/lib/ddl/database_manager.php
->
line 1206
/lib/ddl/database_manager.php
->
line 1207
/lib/ddl/database_manager.php
->
line 1207
/lib/ddl/database_manager.php
->
line 1208
/lib/adodb/drivers/adodb-postgres64.inc.php
->
line 826
/lib/adodb/drivers/adodb-postgres64.inc.php
->
line 830
/lib/adodb/adodb.inc.php
->
line 1198
/lib/adodb/adodb.inc.php
->
line 1199
/lib/adodb/adodb.inc.php
->
line 1234
/lib/adodb/adodb.inc.php
->
line 1262
/lib/adodb/adodb.inc.php
->
line 1263
/lib/adodb/adodb.inc.php
->
line 1264
/lib/adodb/adodb.inc.php
->
line 1267
/lib/adodb/drivers/adodb-oci8po.inc.php
->
line 45
/lib/adodb/drivers/adodb-oci8po.inc.php
->
line 46
/lib/adodb/drivers/adodb-oci8po.inc.php
->
line 47
/lib/adodb/drivers/adodb-oci8po.inc.php
->
line 48
/admin/tool/xmldb/actions/check_defaults/check_defaults.class.php
->
line 168
/admin/tool/xmldb/actions/check_defaults/check_defaults.class.php
->
line 175
/admin/tool/xmldb/actions/check_defaults/check_defaults.class.php
->
line 176
/admin/tool/xmldb/actions/check_defaults/check_defaults.class.php
->
line 176
/admin/tool/xmldb/actions/check_defaults/check_defaults.class.php
->
line 177
/lib/adodb/drivers/adodb-csv.inc.php
->
line 131
/lib/adodb/drivers/adodb-csv.inc.php
->
line 136
/lib/adodb/drivers/adodb-csv.inc.php
->
line 146
/lib/adodb/drivers/adodb-csv.inc.php
->
line 147
/lib/ddl/postgres_sql_generator.php
->
line 101
/lib/ddl/postgres_sql_generator.php
->
line 102
/lib/ddl/postgres_sql_generator.php
->
line 102
/lib/ddl/postgres_sql_generator.php
->
line 103
/admin/tool/xmldb/actions/check_bigints/check_bigints.class.php
->
line 116
/admin/tool/xmldb/actions/check_bigints/check_bigints.class.php
->
line 120
/admin/tool/xmldb/actions/check_bigints/check_bigints.class.php
->
line 121
/admin/tool/xmldb/actions/check_bigints/check_bigints.class.php
->
line 121
/admin/tool/xmldb/actions/check_bigints/check_bigints.class.php
->
line 122
/lib/ddl/mysql_sql_generator.php
->
line 224
/lib/ddl/mysql_sql_generator.php
->
line 232
/lib/ddl/mysql_sql_generator.php
->
line 357
/lib/ddl/mysql_sql_generator.php
->
line 360
/lib/ddl/mysql_sql_generator.php
->
line 363
/lib/ddl/mysql_sql_generator.php
->
line 366
/lib/ddl/mysql_sql_generator.php
->
line 368
/lib/ddl/mysql_sql_generator.php
->
line 373
/lib/ddl/mysql_sql_generator.php
->
line 384
/lib/ddl/mysql_sql_generator.php
->
line 386
/lib/ddl/mysql_sql_generator.php
->
line 386
/lib/ddl/mysql_sql_generator.php
->
line 388
/lib/ddl/mssql_sql_generator.php
->
line 182
/lib/ddl/mssql_sql_generator.php
->
line 183
/lib/adodb/drivers/adodb-mssql.inc.php
->
line 612
/lib/adodb/drivers/adodb-mssql.inc.php
->
line 613
/lib/adodb/drivers/adodb-mssql.inc.php
->
line 614
/lib/adodb/drivers/adodb-mssql.inc.php
->
line 615
/lib/adodb/drivers/adodb-mssql.inc.php
->
line 616
/lib/adodb/drivers/adodb-oci8.inc.php
->
line 1016
/lib/adodb/drivers/adodb-oci8.inc.php
->
line 1019
/lib/adodb/drivers/adodb-oci8.inc.php
->
line 1020
/lib/ddl/oracle_sql_generator.php
->
line 198
/lib/ddl/oracle_sql_generator.php
->
line 199
/lib/ddl/oracle_sql_generator.php
->
line 199
/lib/ddl/oracle_sql_generator.php
->
line 200
/lib/ddl/oracle_sql_generator.php
->
line 211
/lib/ddl/oracle_sql_generator.php
->
line 213
/lib/ddl/oracle_sql_generator.php
->
line 215
/admin/tool/xmldb/actions/check_indexes/check_indexes.class.php
->
line 173
/admin/tool/xmldb/actions/check_indexes/check_indexes.class.php
->
line 176
/admin/tool/xmldb/actions/check_indexes/check_indexes.class.php
->
line 176
/admin/tool/xmldb/actions/check_indexes/check_indexes.class.php
->
line 177
/lib/adodb/drivers/adodb-postgres7.inc.php
->
line 253
/lib/adodb/drivers/adodb-postgres7.inc.php
->
line 256
/lib/adodb/drivers/adodb-postgres7.inc.php
->
line 257