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)
XMLDB_KEY_FOREIGN
[
Top level directory
]
Constant Cross Reference
at:
/lib/xmldb/xmldb_constants.php
->
line 68
Referenced 123 times:
/lib/dml/tests/dml_test.php
->
line 4517
/lib/ddl/sqlite_sql_generator.php
->
line 121
/mod/assign/feedback/editpdf/db/upgrade.php
->
line 54
/lib/ddl/database_manager.php
->
line 268
/lib/ddl/database_manager.php
->
line 1130
/admin/tool/xmldb/actions/edit_key/edit_key.class.php
->
line 124
/admin/tool/xmldb/actions/edit_key/edit_key.class.php
->
line 124
/auth/lti/db/upgrade.php
->
line 54
/admin/tool/xmldb/actions/check_foreign_keys/check_foreign_keys.class.php
->
line 75
/mod/quiz/db/upgrade.php
->
line 136
/mod/quiz/db/upgrade.php
->
line 142
/lib/ddl/sql_generator.php
->
line 369
/lib/ddl/sql_generator.php
->
line 381
/lib/ddl/sql_generator.php
->
line 557
/lib/ddl/sql_generator.php
->
line 868
/lib/ddl/sql_generator.php
->
line 870
/lib/ddl/sql_generator.php
->
line 926
/lib/ddl/sql_generator.php
->
line 944
/lib/ddl/sql_generator.php
->
line 982
/lib/xmldb/xmldb_constants.php
->
line 68
/admin/tool/xmldb/actions/add_persistent_mandatory/add_persistent_mandatory.class.php
->
line 138
/mod/lti/db/upgrade.php
->
line 125
/mod/lti/db/upgrade.php
->
line 151
/lib/db/upgrade.php
->
line 205
/lib/db/upgrade.php
->
line 233
/lib/db/upgrade.php
->
line 262
/lib/db/upgrade.php
->
line 263
/lib/db/upgrade.php
->
line 416
/lib/db/upgrade.php
->
line 417
/lib/db/upgrade.php
->
line 552
/lib/db/upgrade.php
->
line 557
/lib/db/upgrade.php
->
line 634
/lib/db/upgrade.php
->
line 1020
/lib/db/upgrade.php
->
line 1038
/lib/db/upgrade.php
->
line 1376
/lib/db/upgrade.php
->
line 1377
/lib/db/upgrade.php
->
line 1400
/lib/db/upgrade.php
->
line 1420
/lib/db/upgrade.php
->
line 1421
/lib/db/upgrade.php
->
line 1438
/lib/db/upgrade.php
->
line 1656
/lib/db/upgrade.php
->
line 1657
/lib/db/upgrade.php
->
line 1658
/lib/db/upgrade.php
->
line 1737
/lib/db/upgrade.php
->
line 1738
/lib/db/upgrade.php
->
line 1739
/lib/db/upgrade.php
->
line 1740
/lib/db/upgrade.php
->
line 1749
/lib/db/upgrade.php
->
line 2052
/lib/db/upgrade.php
->
line 2100
/lib/db/upgrade.php
->
line 2101
/lib/db/upgrade.php
->
line 2331
/lib/db/upgrade.php
->
line 2356
/lib/db/upgrade.php
->
line 2357
/lib/db/upgrade.php
->
line 2697
/lib/db/upgrade.php
->
line 2698
/lib/db/upgrade.php
->
line 2699
/lib/db/upgrade.php
->
line 2974
/lib/db/upgrade.php
->
line 2975
/lib/db/upgrade.php
->
line 2976
/lib/db/upgrade.php
->
line 3000
/lib/db/upgrade.php
->
line 3001
/lib/db/upgrade.php
->
line 3002
/lib/db/upgrade.php
->
line 3106
/lib/db/upgrade.php
->
line 3107
/lib/db/upgrade.php
->
line 3108
/lib/db/upgrade.php
->
line 3316
/lib/db/upgrade.php
->
line 3317
/lib/db/upgrade.php
->
line 3318
/lib/db/upgrade.php
->
line 3319
/lib/db/upgrade.php
->
line 3849
/lib/db/upgrade.php
->
line 3850
/lib/db/upgrade.php
->
line 3877
/lib/db/upgrade.php
->
line 3878
/lib/db/upgrade.php
->
line 3899
/lib/db/upgrade.php
->
line 3900
/lib/db/upgrade.php
->
line 3921
/lib/db/upgrade.php
->
line 3922
/lib/db/upgrade.php
->
line 4140
/admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php
->
line 100
/admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php
->
line 187
/admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php
->
line 239
/admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php
->
line 276
/mod/bigbluebuttonbn/db/upgrade.php
->
line 333
/mod/bigbluebuttonbn/db/upgrade.php
->
line 334
/mod/bigbluebuttonbn/db/upgrade.php
->
line 466
/enrol/lti/db/upgrade.php
->
line 140
/enrol/lti/db/upgrade.php
->
line 167
/enrol/lti/db/upgrade.php
->
line 196
/enrol/lti/db/upgrade.php
->
line 197
/enrol/lti/db/upgrade.php
->
line 225
/enrol/lti/db/upgrade.php
->
line 249
/enrol/lti/db/upgrade.php
->
line 250
/mod/h5pactivity/db/upgrade.php
->
line 84
/mod/h5pactivity/db/upgrade.php
->
line 115
/lib/xmldb/xmldb_structure.php
->
line 385
/lib/xmldb/xmldb_structure.php
->
line 441
/lib/xmldb/xmldb_structure.php
->
line 483
/lib/xmldb/xmldb_key.php
->
line 207
/lib/xmldb/xmldb_key.php
->
line 220
/lib/xmldb/xmldb_key.php
->
line 227
/lib/xmldb/xmldb_key.php
->
line 234
/lib/xmldb/xmldb_key.php
->
line 258
/lib/xmldb/xmldb_key.php
->
line 265
/lib/xmldb/xmldb_key.php
->
line 300
/lib/xmldb/xmldb_key.php
->
line 330
/lib/xmldb/xmldb_key.php
->
line 353
/lib/xmldb/xmldb_key.php
->
line 371
/lib/xmldb/xmldb_key.php
->
line 423
/lib/xmldb/xmldb_key.php
->
line 424
/lib/xmldb/xmldb_key.php
->
line 438
/lib/xmldb/xmldb_key.php
->
line 470
/admin/tool/xmldb/actions/check_indexes/check_indexes.class.php
->
line 78
/admin/tool/xmldb/actions/check_indexes/check_indexes.class.php
->
line 87
/lib/ddl/tests/ddl_test.php
->
line 1404
/lib/ddl/tests/ddl_test.php
->
line 1421
/lib/ddl/tests/ddl_test.php
->
line 1527
/lib/ddl/tests/ddl_test.php
->
line 1541
/lib/ddl/tests/ddl_test.php
->
line 2482
/message/output/email/db/upgrade.php
->
line 52
/message/output/email/db/upgrade.php
->
line 53
/message/output/email/db/upgrade.php
->
line 54
/mod/forum/db/upgrade.php
->
line 176