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)
dbhost
[
Top level directory
]
Variable Cross Reference
at:
/lib/dml/sqlsrv_native_moodle_database.php
->
line 221
/lib/phpunit/classes/database_driver_testcase.php
->
line 85
/enrol/database/tests/sync_test.php
->
line 115
/lib/dml/mysqli_native_moodle_database.php
->
line 568
/auth/db/tests/db_test.php
->
line 113
/lib/dml/tests/dml_read_slave_test.php
->
line 65
Referenced 123 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 152
/lib/dml/pgsql_native_moodle_database.php
->
line 152
/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
/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/behat/classes/behat_command.php
->
line 209
/lib/behat/classes/behat_command.php
->
line 210
/lib/behat/classes/behat_command.php
->
line 215
/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 221
/lib/dml/sqlsrv_native_moodle_database.php
->
line 221
/lib/dml/sqlsrv_native_moodle_database.php
->
line 223
/lib/dml/sqlsrv_native_moodle_database.php
->
line 232
/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 163
/lib/dml/oci_native_moodle_database.php
->
line 170
/lib/phpunit/classes/database_driver_testcase.php
->
line 85
/lib/phpunit/classes/database_driver_testcase.php
->
line 99
/admin/tool/dbtransfer/lang/en/tool_dbtransfer.php
->
line 42
/lib/behat/lib.php
->
line 251
/lib/behat/lib.php
->
line 252
/lib/behat/lib.php
->
line 259
/lib/behat/lib.php
->
line 263
/.github/workflows/config-template.php
->
line 34
/lib/phpunit/bootstrap.php
->
line 169
/lib/phpunit/bootstrap.php
->
line 169
/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 149
/lib/dml/tests/dml_mysqli_read_slave_test.php
->
line 84
/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
/admin/tool/behat/lang/en/tool_behat.php
->
line 31
/lib/dml/moodle_database.php
->
line 78
/lib/dml/moodle_database.php
->
line 270
/lib/dml/moodle_database.php
->
line 270
/lib/dml/moodle_database.php
->
line 304
/lib/dml/moodle_database.php
->
line 316
/lib/dml/moodle_database.php
->
line 317
/lib/dml/moodle_database.php
->
line 317
/lib/dml/moodle_database.php
->
line 334
/lib/dml/moodle_database.php
->
line 376
/admin/cli/install.php
->
line 246
/admin/cli/install.php
->
line 246
/admin/cli/install.php
->
line 542
/admin/cli/install.php
->
line 545
/admin/cli/install.php
->
line 635
/admin/cli/install.php
->
line 639
/admin/cli/install.php
->
line 644
/enrol/database/tests/sync_test.php
->
line 60
/enrol/database/tests/sync_test.php
->
line 66
/enrol/database/tests/sync_test.php
->
line 80
/enrol/database/tests/sync_test.php
->
line 97
/enrol/database/tests/sync_test.php
->
line 97
/enrol/database/tests/sync_test.php
->
line 115
/enrol/database/tests/sync_test.php
->
line 115
/enrol/database/tests/sync_test.php
->
line 117
/enrol/database/tests/sync_test.php
->
line 119
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 89
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 92
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 92
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 124
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 124
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 125
/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 567
/lib/dml/mysqli_native_moodle_database.php
->
line 568
/lib/dml/mysqli_native_moodle_database.php
->
line 568
/lib/dml/mysqli_native_moodle_database.php
->
line 584
/auth/db/tests/db_test.php
->
line 58
/auth/db/tests/db_test.php
->
line 64
/auth/db/tests/db_test.php
->
line 78
/auth/db/tests/db_test.php
->
line 95
/auth/db/tests/db_test.php
->
line 95
/auth/db/tests/db_test.php
->
line 113
/auth/db/tests/db_test.php
->
line 113
/auth/db/tests/db_test.php
->
line 115
/auth/db/tests/db_test.php
->
line 117
/lib/dmllib.php
->
line 340
/lib/tests/performance/filtersettingsperformancetester.php
->
line 55
/admin/tool/log/store/database/tests/store_test.php
->
line 66
/lib/dml/tests/dml_read_slave_test.php
->
line 65
/lib/dml/tests/dml_read_slave_test.php
->
line 76
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 148
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 154
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 217
/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 123
/install.php
->
line 143
/install.php
->
line 143
/install.php
->
line 285
/install.php
->
line 287
/install.php
->
line 432
/install.php
->
line 435
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 61
/lib/dml/tests/fixtures/read_slave_moodle_database.php
->
line 57
/lib/dml/tests/fixtures/read_slave_moodle_database.php
->
line 59
/lib/dml/tests/fixtures/read_slave_moodle_database.php
->
line 62
/lib/dml/tests/fixtures/read_slave_moodle_database.php
->
line 63
/config-dist.php
->
line 43
/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