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)
dboptions
[
Top level directory
]
Variable Cross Reference
at:
/lib/dml/tests/fixtures/read_slave_moodle_database.php
->
line 57
/lib/dml/tests/dml_test.php
->
line 6093
/lib/dml/pgsql_native_moodle_database.php
->
line 132
/auth/db/settings.php
->
line 44
/lib/dml/tests/dml_read_slave_test.php
->
line 70
/lib/dml/moodle_read_slave_trait.php
->
line 131
/lib/dml/moodle_read_slave_trait.php
->
line 146
/lib/dml/oci_native_moodle_database.php
->
line 134
/lib/dml/pdo_moodle_database.php
->
line 62
/admin/tool/dbtransfer/index.php
->
line 42
/lib/dml/mysqli_native_moodle_database.php
->
line 60
/lib/dml/mysqli_native_moodle_database.php
->
line 535
/lib/dml/sqlsrv_native_moodle_database.php
->
line 190
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 89
/lib/dml/moodle_database.php
->
line 300
/lib/dml/moodle_database.php
->
line 312
/lib/dml/moodle_database.php
->
line 372
/admin/tool/log/store/database/test_settings.php
->
line 58
/admin/tool/log/store/database/classes/log/store.php
->
line 88
/lib/phpunit/classes/database_driver_testcase.php
->
line 90
/lib/dml/tests/pgsql_native_recordset_test.php
->
line 68
/admin/tool/dbtransfer/cli/migrate.php
->
line 163
Referenced 258 times:
/lib/dml/tests/fixtures/read_slave_moodle_database.php
->
line 57
/lib/dml/tests/fixtures/read_slave_moodle_database.php
->
line 58
/lib/dml/tests/fixtures/read_slave_moodle_database.php
->
line 58
/lib/dml/tests/dml_test.php
->
line 5514
/lib/dml/tests/dml_test.php
->
line 5515
/lib/dml/tests/dml_test.php
->
line 5520
/lib/dml/tests/dml_test.php
->
line 5521
/lib/dml/tests/dml_test.php
->
line 5522
/lib/dml/tests/dml_test.php
->
line 5524
/lib/dml/tests/dml_test.php
->
line 5528
/lib/dml/tests/dml_test.php
->
line 5571
/lib/dml/tests/dml_test.php
->
line 5572
/lib/dml/tests/dml_test.php
->
line 5575
/lib/dml/tests/dml_test.php
->
line 6093
/lib/dml/pgsql_native_moodle_database.php
->
line 132
/lib/dml/pgsql_native_moodle_database.php
->
line 144
/lib/dml/pgsql_native_moodle_database.php
->
line 149
/lib/dml/pgsql_native_moodle_database.php
->
line 151
/lib/dml/pgsql_native_moodle_database.php
->
line 153
/lib/dml/pgsql_native_moodle_database.php
->
line 155
/lib/dml/pgsql_native_moodle_database.php
->
line 157
/lib/dml/pgsql_native_moodle_database.php
->
line 160
/lib/dml/pgsql_native_moodle_database.php
->
line 164
/lib/dml/pgsql_native_moodle_database.php
->
line 167
/lib/dml/pgsql_native_moodle_database.php
->
line 172
/lib/dml/pgsql_native_moodle_database.php
->
line 173
/lib/dml/pgsql_native_moodle_database.php
->
line 176
/lib/dml/pgsql_native_moodle_database.php
->
line 180
/lib/dml/pgsql_native_moodle_database.php
->
line 181
/lib/dml/pgsql_native_moodle_database.php
->
line 193
/lib/dml/pgsql_native_moodle_database.php
->
line 211
/lib/dml/pgsql_native_moodle_database.php
->
line 222
/lib/dml/pgsql_native_moodle_database.php
->
line 226
/lib/dml/pgsql_native_moodle_database.php
->
line 910
/lib/dml/pgsql_native_moodle_database.php
->
line 911
/lib/dml/pgsql_native_moodle_database.php
->
line 1199
/lib/dml/pgsql_native_moodle_database.php
->
line 1200
/admin/tool/log/store/database/tests/store_test.php
->
line 71
/admin/tool/log/store/database/tests/store_test.php
->
line 76
/admin/tool/log/store/database/tests/store_test.php
->
line 77
/admin/tool/log/store/database/tests/store_test.php
->
line 81
/admin/tool/log/store/database/tests/store_test.php
->
line 82
/admin/tool/log/store/database/tests/store_test.php
->
line 86
/admin/tool/log/store/database/tests/store_test.php
->
line 87
/admin/tool/log/store/database/tests/store_test.php
->
line 91
/admin/tool/log/store/database/tests/store_test.php
->
line 92
/admin/tool/log/store/database/tests/store_test.php
->
line 96
/admin/tool/log/store/database/tests/store_test.php
->
line 97
/auth/db/settings.php
->
line 44
/auth/db/settings.php
->
line 50
/auth/db/settings.php
->
line 55
/lib/dml/tests/dml_mysqli_read_slave_test.php
->
line 78
/lib/dml/tests/dml_mysqli_read_slave_test.php
->
line 79
/lib/dml/tests/dml_mysqli_read_slave_test.php
->
line 81
/lib/dml/tests/dml_mysqli_read_slave_test.php
->
line 87
/lib/dml/tests/dml_read_slave_test.php
->
line 70
/lib/dml/tests/dml_read_slave_test.php
->
line 72
/lib/dml/tests/dml_read_slave_test.php
->
line 76
/lib/dml/moodle_read_slave_trait.php
->
line 131
/lib/dml/moodle_read_slave_trait.php
->
line 146
/lib/dml/moodle_read_slave_trait.php
->
line 152
/lib/dml/moodle_read_slave_trait.php
->
line 154
/lib/dml/moodle_read_slave_trait.php
->
line 155
/lib/dml/moodle_read_slave_trait.php
->
line 157
/lib/dml/moodle_read_slave_trait.php
->
line 160
/lib/dml/moodle_read_slave_trait.php
->
line 161
/lib/dml/moodle_read_slave_trait.php
->
line 162
/lib/dml/moodle_read_slave_trait.php
->
line 173
/lib/dml/moodle_read_slave_trait.php
->
line 173
/lib/dml/moodle_read_slave_trait.php
->
line 194
/lib/dml/moodle_read_slave_trait.php
->
line 197
/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 158
/lib/dml/oci_native_moodle_database.php
->
line 167
/lib/dml/oci_native_moodle_database.php
->
line 168
/lib/dml/oci_native_moodle_database.php
->
line 170
/lib/dml/oci_native_moodle_database.php
->
line 174
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 66
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 71
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 72
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 76
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 77
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 81
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 82
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 86
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 87
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 91
/admin/tool/log/store/database/tests/privacy/provider_test.php
->
line 92
/lib/dmllib.php
->
line 327
/lib/dmllib.php
->
line 328
/lib/dmllib.php
->
line 332
/lib/dmllib.php
->
line 340
/lib/phpunit/bootstrap.php
->
line 174
/lib/phpunit/bootstrap.php
->
line 174
/lib/installlib.php
->
line 181
/lib/installlib.php
->
line 187
/lib/installlib.php
->
line 190
/lib/installlib.php
->
line 191
/lib/dml/pdo_moodle_database.php
->
line 62
/lib/dml/pdo_moodle_database.php
->
line 69
/lib/dml/pdo_moodle_database.php
->
line 97
/admin/tool/dbtransfer/index.php
->
line 42
/admin/tool/dbtransfer/index.php
->
line 44
/admin/tool/dbtransfer/index.php
->
line 47
/admin/tool/dbtransfer/index.php
->
line 50
/lib/dml/mysqli_native_moodle_database.php
->
line 60
/lib/dml/mysqli_native_moodle_database.php
->
line 67
/lib/dml/mysqli_native_moodle_database.php
->
line 68
/lib/dml/mysqli_native_moodle_database.php
->
line 68
/lib/dml/mysqli_native_moodle_database.php
->
line 69
/lib/dml/mysqli_native_moodle_database.php
->
line 73
/lib/dml/mysqli_native_moodle_database.php
->
line 76
/lib/dml/mysqli_native_moodle_database.php
->
line 95
/lib/dml/mysqli_native_moodle_database.php
->
line 95
/lib/dml/mysqli_native_moodle_database.php
->
line 96
/lib/dml/mysqli_native_moodle_database.php
->
line 97
/lib/dml/mysqli_native_moodle_database.php
->
line 98
/lib/dml/mysqli_native_moodle_database.php
->
line 164
/lib/dml/mysqli_native_moodle_database.php
->
line 165
/lib/dml/mysqli_native_moodle_database.php
->
line 191
/lib/dml/mysqli_native_moodle_database.php
->
line 227
/lib/dml/mysqli_native_moodle_database.php
->
line 239
/lib/dml/mysqli_native_moodle_database.php
->
line 240
/lib/dml/mysqli_native_moodle_database.php
->
line 298
/lib/dml/mysqli_native_moodle_database.php
->
line 535
/lib/dml/mysqli_native_moodle_database.php
->
line 542
/lib/dml/mysqli_native_moodle_database.php
->
line 546
/lib/dml/mysqli_native_moodle_database.php
->
line 547
/lib/dml/mysqli_native_moodle_database.php
->
line 547
/lib/dml/mysqli_native_moodle_database.php
->
line 548
/lib/dml/mysqli_native_moodle_database.php
->
line 552
/lib/dml/mysqli_native_moodle_database.php
->
line 555
/lib/dml/mysqli_native_moodle_database.php
->
line 561
/lib/dml/mysqli_native_moodle_database.php
->
line 565
/lib/dml/mysqli_native_moodle_database.php
->
line 566
/lib/dml/mysqli_native_moodle_database.php
->
line 586
/lib/dml/mysqli_native_moodle_database.php
->
line 587
/lib/dml/mysqli_native_moodle_database.php
->
line 587
/lib/dml/mysqli_native_moodle_database.php
->
line 1434
/lib/dml/mysqli_native_moodle_database.php
->
line 1435
/lib/dml/mysqli_native_moodle_database.php
->
line 2030
/lib/dml/mysqli_native_moodle_database.php
->
line 2031
/.github/workflows/config-template.php
->
line 39
/enrol/database/tests/sync_test.php
->
line 65
/enrol/database/tests/sync_test.php
->
line 66
/enrol/database/tests/sync_test.php
->
line 75
/enrol/database/tests/sync_test.php
->
line 76
/enrol/database/tests/sync_test.php
->
line 92
/enrol/database/tests/sync_test.php
->
line 93
/enrol/database/tests/sync_test.php
->
line 97
/enrol/database/tests/sync_test.php
->
line 98
/enrol/database/tests/sync_test.php
->
line 99
/enrol/database/tests/sync_test.php
->
line 100
/enrol/database/tests/sync_test.php
->
line 101
/enrol/database/tests/sync_test.php
->
line 116
/enrol/database/tests/sync_test.php
->
line 117
/question/engine/tests/questionusage_autosave_test.php
->
line 448
/question/engine/tests/questionusage_autosave_test.php
->
line 449
/question/engine/tests/questionusage_autosave_test.php
->
line 452
/question/engine/tests/questionusage_autosave_test.php
->
line 519
/question/engine/tests/questionusage_autosave_test.php
->
line 520
/question/engine/tests/questionusage_autosave_test.php
->
line 523
/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 217
/lib/dml/sqlsrv_native_moodle_database.php
->
line 222
/lib/dml/sqlsrv_native_moodle_database.php
->
line 223
/lib/dml/sqlsrv_native_moodle_database.php
->
line 228
/lib/dml/sqlsrv_native_moodle_database.php
->
line 229
/lib/dml/sqlsrv_native_moodle_database.php
->
line 1343
/lib/dml/sqlsrv_native_moodle_database.php
->
line 1345
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 89
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 121
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 122
/lib/dml/moodle_database.php
->
line 85
/lib/dml/moodle_database.php
->
line 271
/lib/dml/moodle_database.php
->
line 272
/lib/dml/moodle_database.php
->
line 272
/lib/dml/moodle_database.php
->
line 300
/lib/dml/moodle_database.php
->
line 312
/lib/dml/moodle_database.php
->
line 318
/lib/dml/moodle_database.php
->
line 318
/lib/dml/moodle_database.php
->
line 372
/lib/dml/moodle_database.php
->
line 507
/lib/dml/moodle_database.php
->
line 508
/lib/dml/moodle_database.php
->
line 508
/lib/dml/moodle_database.php
->
line 509
/admin/tool/log/store/database/test_settings.php
->
line 58
/admin/tool/log/store/database/test_settings.php
->
line 59
/admin/tool/log/store/database/test_settings.php
->
line 60
/admin/tool/log/store/database/test_settings.php
->
line 61
/admin/tool/log/store/database/test_settings.php
->
line 62
/admin/tool/log/store/database/test_settings.php
->
line 63
/admin/tool/log/store/database/test_settings.php
->
line 64
/admin/tool/log/store/database/test_settings.php
->
line 68
/analytics/classes/analysis.php
->
line 944
/analytics/classes/analysis.php
->
line 944
/analytics/classes/analysis.php
->
line 948
/config-dist.php
->
line 48
/admin/tool/log/store/database/classes/log/store.php
->
line 88
/admin/tool/log/store/database/classes/log/store.php
->
line 89
/admin/tool/log/store/database/classes/log/store.php
->
line 90
/admin/tool/log/store/database/classes/log/store.php
->
line 91
/admin/tool/log/store/database/classes/log/store.php
->
line 92
/admin/tool/log/store/database/classes/log/store.php
->
line 93
/admin/tool/log/store/database/classes/log/store.php
->
line 94
/admin/tool/log/store/database/classes/log/store.php
->
line 97
/lib/phpunit/classes/database_driver_testcase.php
->
line 90
/lib/phpunit/classes/database_driver_testcase.php
->
line 99
/lib/dml/tests/pgsql_native_recordset_test.php
->
line 68
/lib/dml/tests/pgsql_native_recordset_test.php
->
line 68
/lib/dml/tests/pgsql_native_recordset_test.php
->
line 69
/lib/dml/tests/pgsql_native_recordset_test.php
->
line 71
/auth/db/tests/db_test.php
->
line 63
/auth/db/tests/db_test.php
->
line 64
/auth/db/tests/db_test.php
->
line 73
/auth/db/tests/db_test.php
->
line 74
/auth/db/tests/db_test.php
->
line 90
/auth/db/tests/db_test.php
->
line 91
/auth/db/tests/db_test.php
->
line 95
/auth/db/tests/db_test.php
->
line 96
/auth/db/tests/db_test.php
->
line 97
/auth/db/tests/db_test.php
->
line 98
/auth/db/tests/db_test.php
->
line 99
/auth/db/tests/db_test.php
->
line 114
/auth/db/tests/db_test.php
->
line 115
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 131
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 132
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 134
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 135
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 142
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 191
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 192
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 194
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 200
/admin/tool/dbtransfer/cli/migrate.php
->
line 163
/admin/tool/dbtransfer/cli/migrate.php
->
line 165
/admin/tool/dbtransfer/cli/migrate.php
->
line 168
/admin/tool/dbtransfer/cli/migrate.php
->
line 172
/lib/ddl/tests/ddl_test.php
->
line 1816
/lib/ddl/tests/ddl_test.php
->
line 1817
/lib/ddl/tests/ddl_test.php
->
line 1820
/admin/cli/install.php
->
line 167
/admin/cli/install.php
->
line 584
/admin/cli/install.php
->
line 587
/admin/cli/install.php
->
line 589
/admin/cli/install.php
->
line 590
/admin/cli/install.php
->
line 595
/admin/cli/install.php
->
line 597
/admin/cli/install.php
->
line 601
/admin/cli/install.php
->
line 604
/admin/cli/install.php
->
line 636
/admin/cli/install.php
->
line 636
/admin/cli/install.php
->
line 640
/admin/cli/install.php
->
line 640
/admin/cli/install.php
->
line 645
/admin/cli/install.php
->
line 645