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)
dbname
[
Top level directory
]
Variable Cross Reference
at:
/lib/phpunit/classes/database_driver_testcase.php
->
line 86
/admin/presets/classes/manager.php
->
line 532
/admin/presets/classes/manager.php
->
line 638
/admin/presets/classes/manager.php
->
line 639
/lib/dml/tests/dml_read_slave_test.php
->
line 66
Referenced 120 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 164
/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/cli/mysql_compressed_rows.php
->
line 78
/lib/adodb/datadict/datadict-firebird.inc.php
->
line 119
/admin/tool/dbtransfer/index.php
->
line 50
/lib/behat/classes/behat_command.php
->
line 207
/lib/behat/classes/behat_command.php
->
line 208
/lib/behat/classes/behat_command.php
->
line 215
/lib/dml/sqlsrv_native_moodle_database.php
->
line 159
/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 214
/lib/dml/sqlsrv_native_moodle_database.php
->
line 1365
/lib/dml/sqlsrv_native_moodle_database.php
->
line 1562
/lib/dml/sqlsrv_native_moodle_database.php
->
line 1599
/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 165
/lib/dml/oci_native_moodle_database.php
->
line 170
/lib/dml/oci_native_moodle_database.php
->
line 1843
/lib/dml/oci_native_moodle_database.php
->
line 1864
/lib/phpunit/classes/database_driver_testcase.php
->
line 86
/lib/phpunit/classes/database_driver_testcase.php
->
line 99
/admin/cli/mysql_collation.php
->
line 122
/admin/tool/dbtransfer/lang/en/tool_dbtransfer.php
->
line 42
/lib/behat/lib.php
->
line 249
/lib/behat/lib.php
->
line 250
/lib/behat/lib.php
->
line 259
/lib/behat/lib.php
->
line 262
/lib/adodb/adodb-datadict.inc.php
->
line 447
/lib/adodb/adodb-datadict.inc.php
->
line 452
/lib/classes/lock/mysql_lock_factory.php
->
line 56
/.github/workflows/config-template.php
->
line 35
/lib/phpunit/bootstrap.php
->
line 170
/lib/phpunit/bootstrap.php
->
line 170
/lib/classes/lock/postgres_lock_factory.php
->
line 68
/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 152
/lib/dml/moodle_read_slave_trait.php
->
line 199
/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
/admin/presets/classes/manager.php
->
line 532
/admin/presets/classes/manager.php
->
line 533
/admin/presets/classes/manager.php
->
line 638
/admin/presets/classes/manager.php
->
line 639
/lib/dml/moodle_database.php
->
line 84
/lib/dml/moodle_database.php
->
line 271
/lib/dml/moodle_database.php
->
line 271
/lib/dml/moodle_database.php
->
line 304
/lib/dml/moodle_database.php
->
line 316
/lib/dml/moodle_database.php
->
line 320
/lib/dml/moodle_database.php
->
line 320
/lib/dml/moodle_database.php
->
line 334
/lib/dml/moodle_database.php
->
line 376
/admin/cli/install.php
->
line 557
/admin/cli/install.php
->
line 560
/admin/cli/install.php
->
line 635
/admin/cli/install.php
->
line 639
/admin/cli/install.php
->
line 644
/backup/util/structure/backup_nested_element.class.php
->
line 228
/backup/util/structure/backup_nested_element.class.php
->
line 234
/enrol/database/tests/sync_test.php
->
line 63
/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 95
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 95
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 133
/lib/dml/tests/pgsql_native_recordset_test.php
->
line 70
/lib/adodb/datadict/datadict-oci8.inc.php
->
line 140
/lib/adodb/datadict/datadict-oci8.inc.php
->
line 145
/lib/adodb/datadict/datadict-oci8.inc.php
->
line 146
/lib/dml/mysqli_native_moodle_database.php
->
line 62
/lib/dml/mysqli_native_moodle_database.php
->
line 106
/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
/lib/dml/mysqli_native_moodle_database.php
->
line 863
/lib/dml/mysqli_native_moodle_database.php
->
line 2089
/lib/dml/mysqli_native_moodle_database.php
->
line 2113
/auth/db/tests/db_test.php
->
line 61
/auth/db/tests/db_test.php
->
line 78
/lib/dmllib.php
->
line 305
/lib/dmllib.php
->
line 306
/lib/dmllib.php
->
line 340
/lib/tests/performance/filtersettingsperformancetester.php
->
line 55
/admin/tool/log/store/database/tests/store_test.php
->
line 69
/lib/dml/tests/dml_read_slave_test.php
->
line 66
/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 126
/install.php
->
line 146
/install.php
->
line 285
/install.php
->
line 287
/install.php
->
line 441
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 64
/lib/dml/tests/fixtures/read_slave_moodle_database.php
->
line 57
/config-dist.php
->
line 44
/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
/lib/adodb/datadict/datadict-access.inc.php
->
line 89