Quick Navigation
×
Moodle 4.2 XRef and Diffs
Home
Quick Navigation
Moodle 4.2
Classes
Functions
Variables
Constants
Namespaces
Statistics
Moodle 4.2 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.2.x will end 22 April 2024 (12 months).
Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.
Moodle 4.2 Database Schema (by Marcus Green)
dbuser
[
Top level directory
]
Variable Cross Reference
at:
/lib/phpunit/classes/database_driver_testcase.php
->
line 87
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 128
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 156
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 181
/enrol/lti/classes/tool_provider.php
->
line 249
/user/tests/userlib_test.php
->
line 197
/user/tests/userlib_test.php
->
line 209
/user/tests/userlib_test.php
->
line 282
/user/tests/userlib_test.php
->
line 315
/lib/tests/moodlelib_test.php
->
line 3699
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 485
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 562
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 640
/auth/ldap/tests/plugin_test.php
->
line 501
/enrol/lti/classes/task/sync_members.php
->
line 236
/user/tests/externallib_test.php
->
line 517
/user/tests/externallib_test.php
->
line 844
/lib/dml/tests/dml_read_slave_test.php
->
line 67
/backup/util/dbops/tests/restore_dbops_test.php
->
line 317
/backup/util/dbops/tests/restore_dbops_test.php
->
line 351
Referenced 180 times:
/lib/dml/pgsql_native_moodle_database.php
->
line 135
/lib/dml/pgsql_native_moodle_database.php
->
line 147
/lib/dml/pgsql_native_moodle_database.php
->
line 153
/lib/dml/pgsql_native_moodle_database.php
->
line 172
/lib/dml/pdo_moodle_database.php
->
line 62
/lib/dml/pdo_moodle_database.php
->
line 69
/lib/dml/pdo_moodle_database.php
->
line 72
/question/engine/tests/questionusage_autosave_test.php
->
line 452
/question/engine/tests/questionusage_autosave_test.php
->
line 523
/lib/installlib.php
->
line 181
/lib/installlib.php
->
line 187
/lib/installlib.php
->
line 190
/lib/installlib.php
->
line 191
/admin/tool/dbtransfer/index.php
->
line 50
/lib/dml/sqlsrv_native_moodle_database.php
->
line 190
/lib/dml/sqlsrv_native_moodle_database.php
->
line 209
/lib/dml/sqlsrv_native_moodle_database.php
->
line 212
/lib/dml/oci_native_moodle_database.php
->
line 134
/lib/dml/oci_native_moodle_database.php
->
line 157
/lib/dml/oci_native_moodle_database.php
->
line 175
/lib/dml/oci_native_moodle_database.php
->
line 177
/lib/phpunit/classes/database_driver_testcase.php
->
line 87
/lib/phpunit/classes/database_driver_testcase.php
->
line 99
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 128
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 130
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 156
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 157
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 158
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 159
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 181
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 182
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 183
/enrol/imsenterprise/tests/imsenterprise_test.php
->
line 184
/.github/workflows/config-template.php
->
line 36
/lib/phpunit/bootstrap.php
->
line 171
/lib/phpunit/bootstrap.php
->
line 171
/enrol/lti/classes/tool_provider.php
->
line 249
/enrol/lti/classes/tool_provider.php
->
line 262
/enrol/lti/classes/tool_provider.php
->
line 263
/enrol/lti/classes/tool_provider.php
->
line 270
/user/tests/userlib_test.php
->
line 197
/user/tests/userlib_test.php
->
line 198
/user/tests/userlib_test.php
->
line 199
/user/tests/userlib_test.php
->
line 209
/user/tests/userlib_test.php
->
line 210
/user/tests/userlib_test.php
->
line 282
/user/tests/userlib_test.php
->
line 283
/user/tests/userlib_test.php
->
line 284
/user/tests/userlib_test.php
->
line 285
/user/tests/userlib_test.php
->
line 286
/user/tests/userlib_test.php
->
line 287
/user/tests/userlib_test.php
->
line 288
/user/tests/userlib_test.php
->
line 289
/user/tests/userlib_test.php
->
line 290
/user/tests/userlib_test.php
->
line 315
/user/tests/userlib_test.php
->
line 316
/user/tests/userlib_test.php
->
line 317
/user/tests/userlib_test.php
->
line 318
/lib/ddl/tests/ddl_test.php
->
line 1820
/lib/dml/moodle_read_slave_trait.php
->
line 133
/lib/dml/moodle_read_slave_trait.php
->
line 148
/lib/dml/moodle_read_slave_trait.php
->
line 150
/lib/dml/tests/dml_mysqli_read_slave_test.php
->
line 91
/lib/dml/tests/dml_mysqli_read_slave_test.php
->
line 162
/lib/setuplib.php
->
line 830
/mod/quiz/report/statistics/tests/test_quiz_statistics_report.php
->
line 65
/lib/tests/moodlelib_test.php
->
line 3699
/lib/tests/moodlelib_test.php
->
line 3700
/lib/tests/moodlelib_test.php
->
line 3701
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 485
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 488
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 492
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 516
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 519
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 562
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 565
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 569
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 593
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 596
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 640
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 643
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 647
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 671
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php
->
line 674
/auth/ldap/tests/plugin_test.php
->
line 501
/auth/ldap/tests/plugin_test.php
->
line 502
/lib/dml/moodle_database.php
->
line 80
/lib/dml/moodle_database.php
->
line 272
/lib/dml/moodle_database.php
->
line 272
/lib/dml/moodle_database.php
->
line 304
/lib/dml/moodle_database.php
->
line 316
/lib/dml/moodle_database.php
->
line 318
/lib/dml/moodle_database.php
->
line 318
/lib/dml/moodle_database.php
->
line 334
/lib/dml/moodle_database.php
->
line 376
/admin/cli/install.php
->
line 248
/admin/cli/install.php
->
line 248
/admin/cli/install.php
->
line 616
/admin/cli/install.php
->
line 619
/admin/cli/install.php
->
line 635
/admin/cli/install.php
->
line 639
/admin/cli/install.php
->
line 644
/enrol/lti/classes/task/sync_members.php
->
line 236
/enrol/lti/classes/task/sync_members.php
->
line 237
/enrol/lti/classes/task/sync_members.php
->
line 243
/enrol/database/tests/sync_test.php
->
line 61
/enrol/database/tests/sync_test.php
->
line 80
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 89
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 93
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 93
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 130
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 131
/user/tests/externallib_test.php
->
line 517
/user/tests/externallib_test.php
->
line 521
/user/tests/externallib_test.php
->
line 522
/user/tests/externallib_test.php
->
line 533
/user/tests/externallib_test.php
->
line 844
/user/tests/externallib_test.php
->
line 845
/user/tests/externallib_test.php
->
line 846
/user/tests/externallib_test.php
->
line 847
/user/tests/externallib_test.php
->
line 848
/user/tests/externallib_test.php
->
line 849
/user/tests/externallib_test.php
->
line 850
/user/tests/externallib_test.php
->
line 851
/user/tests/externallib_test.php
->
line 852
/user/tests/externallib_test.php
->
line 853
/user/tests/externallib_test.php
->
line 854
/user/tests/externallib_test.php
->
line 855
/user/tests/externallib_test.php
->
line 856
/user/tests/externallib_test.php
->
line 857
/user/tests/externallib_test.php
->
line 858
/user/tests/externallib_test.php
->
line 859
/user/tests/externallib_test.php
->
line 870
/lib/dml/tests/pgsql_native_recordset_test.php
->
line 70
/lib/dml/mysqli_native_moodle_database.php
->
line 62
/lib/dml/mysqli_native_moodle_database.php
->
line 85
/lib/dml/mysqli_native_moodle_database.php
->
line 541
/lib/dml/mysqli_native_moodle_database.php
->
line 548
/lib/dml/mysqli_native_moodle_database.php
->
line 584
/auth/db/tests/db_test.php
->
line 59
/auth/db/tests/db_test.php
->
line 78
/lib/dmllib.php
->
line 297
/lib/dmllib.php
->
line 298
/lib/dmllib.php
->
line 340
/lib/tests/performance/filtersettingsperformancetester.php
->
line 55
/admin/tool/log/store/database/tests/store_test.php
->
line 67
/lib/dml/tests/dml_read_slave_test.php
->
line 67
/lib/dml/tests/dml_read_slave_test.php
->
line 76
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 154
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 223
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 281
/install.php
->
line 124
/install.php
->
line 144
/install.php
->
line 144
/install.php
->
line 285
/install.php
->
line 287
/install.php
->
line 444
/install.php
->
line 448
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 62
/lib/dml/tests/fixtures/read_slave_moodle_database.php
->
line 57
/lib/dml/tests/fixtures/read_slave_moodle_database.php
->
line 59
/backup/util/dbops/tests/restore_dbops_test.php
->
line 312
/backup/util/dbops/tests/restore_dbops_test.php
->
line 317
/backup/util/dbops/tests/restore_dbops_test.php
->
line 317
/backup/util/dbops/tests/restore_dbops_test.php
->
line 332
/backup/util/dbops/tests/restore_dbops_test.php
->
line 332
/backup/util/dbops/tests/restore_dbops_test.php
->
line 333
/backup/util/dbops/tests/restore_dbops_test.php
->
line 336
/backup/util/dbops/tests/restore_dbops_test.php
->
line 342
/backup/util/dbops/tests/restore_dbops_test.php
->
line 343
/backup/util/dbops/tests/restore_dbops_test.php
->
line 345
/backup/util/dbops/tests/restore_dbops_test.php
->
line 346
/backup/util/dbops/tests/restore_dbops_test.php
->
line 351
/backup/util/dbops/tests/restore_dbops_test.php
->
line 351
/backup/util/dbops/tests/restore_dbops_test.php
->
line 360
/config-dist.php
->
line 45
/lib/dml/tests/dml_test.php
->
line 5640
/lib/dml/tests/dml_test.php
->
line 5687
/lib/dml/tests/dml_test.php
->
line 6343
/lib/dml/tests/dml_test.php
->
line 6376