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_PRIMARY
[
Top level directory
]
Constant Cross Reference
at:
/lib/xmldb/xmldb_constants.php
->
line 64
Referenced 224 times:
/admin/tool/httpsreplace/tests/httpsreplace_test.php
->
line 390
/mod/forum/report/summary/classes/summary_table.php
->
line 827
/auth/lti/db/upgrade.php
->
line 53
/auth/ldap/auth.php
->
line 695
/lib/ddl/tests/ddl_test.php
->
line 69
/lib/ddl/tests/ddl_test.php
->
line 103
/lib/ddl/tests/ddl_test.php
->
line 276
/lib/ddl/tests/ddl_test.php
->
line 277
/lib/ddl/tests/ddl_test.php
->
line 309
/lib/ddl/tests/ddl_test.php
->
line 323
/lib/ddl/tests/ddl_test.php
->
line 339
/lib/ddl/tests/ddl_test.php
->
line 355
/lib/ddl/tests/ddl_test.php
->
line 368
/lib/ddl/tests/ddl_test.php
->
line 384
/lib/ddl/tests/ddl_test.php
->
line 400
/lib/ddl/tests/ddl_test.php
->
line 416
/lib/ddl/tests/ddl_test.php
->
line 432
/lib/ddl/tests/ddl_test.php
->
line 448
/lib/ddl/tests/ddl_test.php
->
line 464
/lib/ddl/tests/ddl_test.php
->
line 480
/lib/ddl/tests/ddl_test.php
->
line 496
/lib/ddl/tests/ddl_test.php
->
line 512
/lib/ddl/tests/ddl_test.php
->
line 528
/lib/ddl/tests/ddl_test.php
->
line 544
/lib/ddl/tests/ddl_test.php
->
line 574
/lib/ddl/tests/ddl_test.php
->
line 606
/lib/ddl/tests/ddl_test.php
->
line 629
/lib/ddl/tests/ddl_test.php
->
line 1011
/lib/ddl/tests/ddl_test.php
->
line 1269
/lib/ddl/tests/ddl_test.php
->
line 1315
/lib/ddl/tests/ddl_test.php
->
line 1351
/lib/ddl/tests/ddl_test.php
->
line 1403
/lib/ddl/tests/ddl_test.php
->
line 1417
/lib/ddl/tests/ddl_test.php
->
line 1582
/lib/ddl/tests/ddl_test.php
->
line 1764
/lib/ddl/tests/ddl_test.php
->
line 1770
/lib/ddl/tests/ddl_test.php
->
line 1874
/lib/ddl/tests/ddl_test.php
->
line 1916
/lib/ddl/tests/ddl_test.php
->
line 1961
/lib/ddl/tests/ddl_test.php
->
line 1987
/lib/ddl/tests/ddl_test.php
->
line 2009
/lib/ddl/tests/ddl_test.php
->
line 2034
/lib/ddl/tests/ddl_test.php
->
line 2062
/lib/ddl/tests/ddl_test.php
->
line 2088
/lib/ddl/tests/ddl_test.php
->
line 2111
/lib/ddl/tests/ddl_test.php
->
line 2162
/lib/ddl/tests/ddl_test.php
->
line 2466
/mod/h5pactivity/db/upgrade.php
->
line 83
/mod/h5pactivity/db/upgrade.php
->
line 114
/search/tests/generator/lib.php
->
line 50
/lib/xmldb/xmldb_key.php
->
line 294
/lib/xmldb/xmldb_key.php
->
line 324
/lib/xmldb/xmldb_key.php
->
line 394
/lib/xmldb/xmldb_key.php
->
line 417
/lib/xmldb/xmldb_key.php
->
line 418
/lib/tests/persistent_test.php
->
line 62
/lib/tests/persistent_test.php
->
line 91
/admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php
->
line 146
/admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php
->
line 209
/lib/dml/tests/dml_table_test.php
->
line 93
/lib/dml/tests/dml_table_test.php
->
line 178
/lib/dml/tests/dml_table_test.php
->
line 214
/lib/xmldb/xmldb_constants.php
->
line 64
/enrol/database/tests/sync_test.php
->
line 136
/enrol/database/tests/sync_test.php
->
line 153
/lib/tests/datalib_update_with_unique_index_test.php
->
line 92
/lib/ddl/database_manager.php
->
line 256
/lib/ddl/database_manager.php
->
line 261
/lib/ddl/database_manager.php
->
line 750
/lib/ddl/database_manager.php
->
line 769
/lib/ddl/database_manager.php
->
line 1116
/backup/util/dbops/backup_controller_dbops.class.php
->
line 134
/backup/util/dbops/backup_controller_dbops.class.php
->
line 158
/lib/dml/tests/pgsql_native_recordset_test.php
->
line 78
/lib/tests/upgradelib_test.php
->
line 1392
/enrol/lti/db/upgrade.php
->
line 76
/enrol/lti/db/upgrade.php
->
line 130
/enrol/lti/db/upgrade.php
->
line 186
/enrol/lti/db/upgrade.php
->
line 215
/enrol/lti/db/upgrade.php
->
line 239
/enrol/lti/db/upgrade.php
->
line 277
/admin/tool/xmldb/actions/edit_key/edit_key.class.php
->
line 122
/admin/tool/xmldb/actions/edit_key/edit_key.class.php
->
line 122
/auth/db/tests/db_test.php
->
line 132
/lib/dml/tests/pgsql_native_moodle_database_test.php
->
line 193
/lib/dml/tests/pgsql_native_moodle_database_test.php
->
line 298
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 186
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 230
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 245
/lib/db/upgradelib.php
->
line 1394
/admin/tool/xmldb/actions/check_indexes/check_indexes.class.php
->
line 72
/lib/ddl/sql_generator.php
->
line 326
/lib/ddl/sql_generator.php
->
line 541
/lib/ddl/sql_generator.php
->
line 913
/lib/ddl/sql_generator.php
->
line 980
/lib/ddl/sqlite_sql_generator.php
->
line 105
/lib/db/upgrade.php
->
line 236
/lib/db/upgrade.php
->
line 284
/lib/db/upgrade.php
->
line 495
/lib/db/upgrade.php
->
line 515
/lib/db/upgrade.php
->
line 540
/lib/db/upgrade.php
->
line 881
/lib/db/upgrade.php
->
line 1158
/lib/db/upgrade.php
->
line 1184
/lib/db/upgrade.php
->
line 1290
/lib/db/upgrade.php
->
line 1500
/lib/db/upgrade.php
->
line 1539
/lib/db/upgrade.php
->
line 1558
/lib/db/upgrade.php
->
line 1579
/lib/db/upgrade.php
->
line 1600
/lib/db/upgrade.php
->
line 1620
/lib/db/upgrade.php
->
line 1642
/lib/db/upgrade.php
->
line 1665
/lib/db/upgrade.php
->
line 1688
/lib/db/upgrade.php
->
line 2033
/lib/db/upgrade.php
->
line 2061
/lib/db/upgrade.php
->
line 2083
/lib/db/upgrade.php
->
line 2105
/lib/db/upgrade.php
->
line 2858
/lib/db/upgrade.php
->
line 3174
/admin/tool/xmldb/actions/new_table_from_mysql/new_table_from_mysql.class.php
->
line 160
/lib/statslib.php
->
line 1604
/lib/statslib.php
->
line 1619
/lib/statslib.php
->
line 1631
/lib/statslib.php
->
line 1644
/admin/tool/xmldb/actions/new_table/new_table.class.php
->
line 96
/lib/dml/tests/dml_test.php
->
line 558
/lib/dml/tests/dml_test.php
->
line 589
/lib/dml/tests/dml_test.php
->
line 713
/lib/dml/tests/dml_test.php
->
line 731
/lib/dml/tests/dml_test.php
->
line 779
/lib/dml/tests/dml_test.php
->
line 826
/lib/dml/tests/dml_test.php
->
line 965
/lib/dml/tests/dml_test.php
->
line 993
/lib/dml/tests/dml_test.php
->
line 1029
/lib/dml/tests/dml_test.php
->
line 1037
/lib/dml/tests/dml_test.php
->
line 1121
/lib/dml/tests/dml_test.php
->
line 1220
/lib/dml/tests/dml_test.php
->
line 1274
/lib/dml/tests/dml_test.php
->
line 1338
/lib/dml/tests/dml_test.php
->
line 1428
/lib/dml/tests/dml_test.php
->
line 1465
/lib/dml/tests/dml_test.php
->
line 1508
/lib/dml/tests/dml_test.php
->
line 1539
/lib/dml/tests/dml_test.php
->
line 1646
/lib/dml/tests/dml_test.php
->
line 1676
/lib/dml/tests/dml_test.php
->
line 1692
/lib/dml/tests/dml_test.php
->
line 1795
/lib/dml/tests/dml_test.php
->
line 1823
/lib/dml/tests/dml_test.php
->
line 1855
/lib/dml/tests/dml_test.php
->
line 1887
/lib/dml/tests/dml_test.php
->
line 1910
/lib/dml/tests/dml_test.php
->
line 1933
/lib/dml/tests/dml_test.php
->
line 1990
/lib/dml/tests/dml_test.php
->
line 2037
/lib/dml/tests/dml_test.php
->
line 2054
/lib/dml/tests/dml_test.php
->
line 2071
/lib/dml/tests/dml_test.php
->
line 2098
/lib/dml/tests/dml_test.php
->
line 2135
/lib/dml/tests/dml_test.php
->
line 2186
/lib/dml/tests/dml_test.php
->
line 2212
/lib/dml/tests/dml_test.php
->
line 2490
/lib/dml/tests/dml_test.php
->
line 2596
/lib/dml/tests/dml_test.php
->
line 2664
/lib/dml/tests/dml_test.php
->
line 2822
/lib/dml/tests/dml_test.php
->
line 2872
/lib/dml/tests/dml_test.php
->
line 3059
/lib/dml/tests/dml_test.php
->
line 3166
/lib/dml/tests/dml_test.php
->
line 3305
/lib/dml/tests/dml_test.php
->
line 3340
/lib/dml/tests/dml_test.php
->
line 3362
/lib/dml/tests/dml_test.php
->
line 3399
/lib/dml/tests/dml_test.php
->
line 3432
/lib/dml/tests/dml_test.php
->
line 3452
/lib/dml/tests/dml_test.php
->
line 3473
/lib/dml/tests/dml_test.php
->
line 3505
/lib/dml/tests/dml_test.php
->
line 3537
/lib/dml/tests/dml_test.php
->
line 3596
/lib/dml/tests/dml_test.php
->
line 3616
/lib/dml/tests/dml_test.php
->
line 3639
/lib/dml/tests/dml_test.php
->
line 3661
/lib/dml/tests/dml_test.php
->
line 3780
/lib/dml/tests/dml_test.php
->
line 3819
/lib/dml/tests/dml_test.php
->
line 3848
/lib/dml/tests/dml_test.php
->
line 3892
/lib/dml/tests/dml_test.php
->
line 3902
/lib/dml/tests/dml_test.php
->
line 3927
/lib/dml/tests/dml_test.php
->
line 3938
/lib/dml/tests/dml_test.php
->
line 3981
/lib/dml/tests/dml_test.php
->
line 4037
/lib/dml/tests/dml_test.php
->
line 4101
/lib/dml/tests/dml_test.php
->
line 4140
/lib/dml/tests/dml_test.php
->
line 4195
/lib/dml/tests/dml_test.php
->
line 4271
/lib/dml/tests/dml_test.php
->
line 4372
/lib/dml/tests/dml_test.php
->
line 4506
/lib/dml/tests/dml_test.php
->
line 4586
/lib/dml/tests/dml_test.php
->
line 4593
/lib/dml/tests/dml_test.php
->
line 4646
/lib/dml/tests/dml_test.php
->
line 4675
/lib/dml/tests/dml_test.php
->
line 4707
/lib/dml/tests/dml_test.php
->
line 4789
/lib/dml/tests/dml_test.php
->
line 4825
/lib/dml/tests/dml_test.php
->
line 4866
/lib/dml/tests/dml_test.php
->
line 4907
/lib/dml/tests/dml_test.php
->
line 4954
/lib/dml/tests/dml_test.php
->
line 4984
/lib/dml/tests/dml_test.php
->
line 5137
/lib/dml/tests/dml_test.php
->
line 5222
/lib/dml/tests/dml_test.php
->
line 5243
/lib/dml/tests/dml_test.php
->
line 5326
/lib/dml/tests/dml_test.php
->
line 5354
/lib/dml/tests/dml_test.php
->
line 5427
/lib/dml/tests/dml_test.php
->
line 5497
/lib/dml/tests/dml_test.php
->
line 5524
/lib/dml/tests/dml_test.php
->
line 5615
/lib/dml/tests/dml_test.php
->
line 5731
/lib/dml/tests/dml_test.php
->
line 5792
/lib/dml/tests/dml_test.php
->
line 5821
/lib/dml/tests/dml_test.php
->
line 5933
/lib/dml/tests/dml_test.php
->
line 5998
/lib/dml/tests/dml_test.php
->
line 6078
/lib/dml/tests/dml_test.php
->
line 6170
/mod/bigbluebuttonbn/db/upgrade.php
->
line 332