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)
XMLDB_KEY_FOREIGN
[
Top level directory
]
Constant Cross Reference
at:
/lib/xmldb/xmldb_constants.php
->
line 68
Referenced 156 times:
/auth/lti/db/upgrade.php
->
line 54
/mod/book/db/upgrade.php
->
line 54
/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
/mod/h5pactivity/db/upgrade.php
->
line 84
/mod/h5pactivity/db/upgrade.php
->
line 115
/mod/chat/db/upgrade.php
->
line 42
/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
/mod/forum/db/upgrade.php
->
line 168
/mod/data/db/upgrade.php
->
line 37
/lib/xmldb/xmldb_structure.php
->
line 385
/lib/xmldb/xmldb_structure.php
->
line 441
/lib/xmldb/xmldb_structure.php
->
line 483
/admin/tool/log/store/standard/db/upgrade.php
->
line 44
/admin/tool/log/store/standard/db/upgrade.php
->
line 48
/admin/tool/log/store/standard/db/upgrade.php
->
line 52
/admin/tool/log/store/standard/db/upgrade.php
->
line 56
/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
/lib/xmldb/xmldb_constants.php
->
line 68
/lib/ddl/database_manager.php
->
line 268
/lib/ddl/database_manager.php
->
line 1130
/admin/tool/dataprivacy/db/upgrade.php
->
line 78
/enrol/lti/db/upgrade.php
->
line 131
/enrol/lti/db/upgrade.php
->
line 158
/enrol/lti/db/upgrade.php
->
line 187
/enrol/lti/db/upgrade.php
->
line 188
/enrol/lti/db/upgrade.php
->
line 216
/enrol/lti/db/upgrade.php
->
line 240
/enrol/lti/db/upgrade.php
->
line 241
/admin/tool/xmldb/actions/edit_key/edit_key.class.php
->
line 124
/admin/tool/xmldb/actions/edit_key/edit_key.class.php
->
line 124
/admin/tool/monitor/db/upgrade.php
->
line 49
/admin/tool/monitor/db/upgrade.php
->
line 56
/admin/tool/monitor/db/upgrade.php
->
line 63
/lib/db/upgradelib.php
->
line 1501
/lib/db/upgradelib.php
->
line 1507
/lib/db/upgradelib.php
->
line 1513
/lib/db/upgradelib.php
->
line 1519
/lib/db/upgradelib.php
->
line 1525
/lib/db/upgradelib.php
->
line 1531
/lib/db/upgradelib.php
->
line 1537
/lib/db/upgradelib.php
->
line 1543
/lib/db/upgradelib.php
->
line 1557
/lib/db/upgradelib.php
->
line 1563
/lib/db/upgradelib.php
->
line 1569
/lib/db/upgradelib.php
->
line 1575
/lib/db/upgradelib.php
->
line 1581
/lib/db/upgradelib.php
->
line 1587
/lib/db/upgradelib.php
->
line 1593
/lib/db/upgradelib.php
->
line 1599
/lib/db/upgradelib.php
->
line 1605
/lib/db/upgradelib.php
->
line 1619
/lib/db/upgradelib.php
->
line 1625
/lib/db/upgradelib.php
->
line 1631
/lib/db/upgradelib.php
->
line 1637
/lib/db/upgradelib.php
->
line 1643
/lib/db/upgradelib.php
->
line 1649
/lib/db/upgradelib.php
->
line 1655
/lib/db/upgradelib.php
->
line 1661
/lib/db/upgradelib.php
->
line 1667
/lib/db/upgradelib.php
->
line 1673
/lib/db/upgradelib.php
->
line 1679
/lib/db/upgradelib.php
->
line 1685
/lib/db/upgradelib.php
->
line 1691
/lib/db/upgradelib.php
->
line 1697
/lib/db/upgradelib.php
->
line 1703
/lib/db/upgradelib.php
->
line 1709
/lib/db/upgradelib.php
->
line 1715
/lib/db/upgradelib.php
->
line 1721
/lib/db/upgradelib.php
->
line 1727
/lib/db/upgradelib.php
->
line 1733
/lib/db/upgradelib.php
->
line 1739
/lib/db/upgradelib.php
->
line 1745
/lib/db/upgradelib.php
->
line 1751
/lib/db/upgradelib.php
->
line 1757
/lib/db/upgradelib.php
->
line 1763
/lib/db/upgradelib.php
->
line 1769
/lib/db/upgradelib.php
->
line 1775
/lib/db/upgradelib.php
->
line 1781
/lib/db/upgradelib.php
->
line 1787
/lib/db/upgradelib.php
->
line 1793
/lib/db/upgradelib.php
->
line 1799
/lib/db/upgradelib.php
->
line 1805
/lib/db/upgradelib.php
->
line 1811
/lib/db/upgradelib.php
->
line 1817
/lib/db/upgradelib.php
->
line 1823
/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/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/ddl/sqlite_sql_generator.php
->
line 121
/mod/quiz/db/upgrade.php
->
line 126
/mod/quiz/db/upgrade.php
->
line 132
/admin/tool/xmldb/actions/check_foreign_keys/check_foreign_keys.class.php
->
line 75
/mod/feedback/db/upgrade.php
->
line 57
/lib/db/upgrade.php
->
line 237
/lib/db/upgrade.php
->
line 285
/lib/db/upgrade.php
->
line 286
/lib/db/upgrade.php
->
line 516
/lib/db/upgrade.php
->
line 541
/lib/db/upgrade.php
->
line 542
/lib/db/upgrade.php
->
line 882
/lib/db/upgrade.php
->
line 883
/lib/db/upgrade.php
->
line 884
/lib/db/upgrade.php
->
line 1159
/lib/db/upgrade.php
->
line 1160
/lib/db/upgrade.php
->
line 1161
/lib/db/upgrade.php
->
line 1185
/lib/db/upgrade.php
->
line 1186
/lib/db/upgrade.php
->
line 1187
/lib/db/upgrade.php
->
line 1291
/lib/db/upgrade.php
->
line 1292
/lib/db/upgrade.php
->
line 1293
/lib/db/upgrade.php
->
line 1501
/lib/db/upgrade.php
->
line 1502
/lib/db/upgrade.php
->
line 1503
/lib/db/upgrade.php
->
line 1504
/lib/db/upgrade.php
->
line 2034
/lib/db/upgrade.php
->
line 2035
/lib/db/upgrade.php
->
line 2062
/lib/db/upgrade.php
->
line 2063
/lib/db/upgrade.php
->
line 2084
/lib/db/upgrade.php
->
line 2085
/lib/db/upgrade.php
->
line 2106
/lib/db/upgrade.php
->
line 2107
/lib/db/upgrade.php
->
line 2325
/lib/dml/tests/dml_test.php
->
line 4594
/admin/tool/xmldb/actions/add_persistent_mandatory/add_persistent_mandatory.class.php
->
line 138
/mod/bigbluebuttonbn/db/upgrade.php
->
line 333
/mod/bigbluebuttonbn/db/upgrade.php
->
line 334
/mod/bigbluebuttonbn/db/upgrade.php
->
line 544