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_PRIMARY
[
Top level directory
]
Constant Cross Reference
at:
/lib/xmldb/xmldb_constants.php
->
line 64
Referenced 235 times:
/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 3889
/lib/dml/tests/dml_test.php
->
line 3900
/lib/dml/tests/dml_test.php
->
line 3943
/lib/dml/tests/dml_test.php
->
line 3999
/lib/dml/tests/dml_test.php
->
line 4063
/lib/dml/tests/dml_test.php
->
line 4102
/lib/dml/tests/dml_test.php
->
line 4157
/lib/dml/tests/dml_test.php
->
line 4233
/lib/dml/tests/dml_test.php
->
line 4332
/lib/dml/tests/dml_test.php
->
line 4429
/lib/dml/tests/dml_test.php
->
line 4509
/lib/dml/tests/dml_test.php
->
line 4516
/lib/dml/tests/dml_test.php
->
line 4569
/lib/dml/tests/dml_test.php
->
line 4595
/lib/dml/tests/dml_test.php
->
line 4677
/lib/dml/tests/dml_test.php
->
line 4713
/lib/dml/tests/dml_test.php
->
line 4754
/lib/dml/tests/dml_test.php
->
line 4795
/lib/dml/tests/dml_test.php
->
line 4842
/lib/dml/tests/dml_test.php
->
line 4872
/lib/dml/tests/dml_test.php
->
line 5025
/lib/dml/tests/dml_test.php
->
line 5110
/lib/dml/tests/dml_test.php
->
line 5131
/lib/dml/tests/dml_test.php
->
line 5214
/lib/dml/tests/dml_test.php
->
line 5242
/lib/dml/tests/dml_test.php
->
line 5315
/lib/dml/tests/dml_test.php
->
line 5385
/lib/dml/tests/dml_test.php
->
line 5412
/lib/dml/tests/dml_test.php
->
line 5503
/lib/dml/tests/dml_test.php
->
line 5619
/lib/dml/tests/dml_test.php
->
line 5680
/lib/dml/tests/dml_test.php
->
line 5709
/lib/dml/tests/dml_test.php
->
line 5821
/lib/dml/tests/dml_test.php
->
line 5886
/lib/dml/tests/dml_test.php
->
line 5966
/lib/dml/tests/dml_test.php
->
line 6058
/lib/ddl/sqlite_sql_generator.php
->
line 105
/mod/assign/feedback/editpdf/db/upgrade.php
->
line 53
/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
/admin/tool/xmldb/actions/new_table/new_table.class.php
->
line 96
/admin/tool/xmldb/actions/edit_key/edit_key.class.php
->
line 122
/admin/tool/xmldb/actions/edit_key/edit_key.class.php
->
line 122
/backup/util/dbops/backup_controller_dbops.class.php
->
line 134
/backup/util/dbops/backup_controller_dbops.class.php
->
line 158
/auth/lti/db/upgrade.php
->
line 53
/lib/tests/datalib_update_with_unique_index_test.php
->
line 92
/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/xmldb/xmldb_constants.php
->
line 64
/mod/forum/report/summary/classes/summary_table.php
->
line 833
/auth/ldap/auth.php
->
line 683
/admin/tool/httpsreplace/tests/httpsreplace_test.php
->
line 390
/lib/db/upgradelib.php
->
line 1538
/mod/lti/db/upgrade.php
->
line 124
/lib/dml/tests/pgsql_native_moodle_database_test.php
->
line 193
/lib/dml/tests/pgsql_native_moodle_database_test.php
->
line 298
/lib/db/upgrade.php
->
line 156
/lib/db/upgrade.php
->
line 204
/lib/db/upgrade.php
->
line 232
/lib/db/upgrade.php
->
line 261
/lib/db/upgrade.php
->
line 415
/lib/db/upgrade.php
->
line 990
/lib/db/upgrade.php
->
line 1019
/lib/db/upgrade.php
->
line 1354
/lib/db/upgrade.php
->
line 1375
/lib/db/upgrade.php
->
line 1399
/lib/db/upgrade.php
->
line 1419
/lib/db/upgrade.php
->
line 1437
/lib/db/upgrade.php
->
line 1655
/lib/db/upgrade.php
->
line 1736
/lib/db/upgrade.php
->
line 2051
/lib/db/upgrade.php
->
line 2099
/lib/db/upgrade.php
->
line 2310
/lib/db/upgrade.php
->
line 2330
/lib/db/upgrade.php
->
line 2355
/lib/db/upgrade.php
->
line 2696
/lib/db/upgrade.php
->
line 2973
/lib/db/upgrade.php
->
line 2999
/lib/db/upgrade.php
->
line 3105
/lib/db/upgrade.php
->
line 3315
/lib/db/upgrade.php
->
line 3354
/lib/db/upgrade.php
->
line 3373
/lib/db/upgrade.php
->
line 3394
/lib/db/upgrade.php
->
line 3415
/lib/db/upgrade.php
->
line 3435
/lib/db/upgrade.php
->
line 3457
/lib/db/upgrade.php
->
line 3480
/lib/db/upgrade.php
->
line 3503
/lib/db/upgrade.php
->
line 3848
/lib/db/upgrade.php
->
line 3876
/lib/db/upgrade.php
->
line 3898
/lib/db/upgrade.php
->
line 3920
/search/tests/generator/lib.php
->
line 50
/enrol/database/tests/sync_test.php
->
line 136
/enrol/database/tests/sync_test.php
->
line 153
/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
/mod/bigbluebuttonbn/db/upgrade.php
->
line 332
/enrol/lti/db/upgrade.php
->
line 85
/enrol/lti/db/upgrade.php
->
line 139
/enrol/lti/db/upgrade.php
->
line 195
/enrol/lti/db/upgrade.php
->
line 224
/enrol/lti/db/upgrade.php
->
line 248
/enrol/lti/db/upgrade.php
->
line 286
/mod/h5pactivity/db/upgrade.php
->
line 83
/mod/h5pactivity/db/upgrade.php
->
line 114
/lib/dml/tests/pgsql_native_recordset_test.php
->
line 78
/lib/statslib.php
->
line 1604
/lib/statslib.php
->
line 1619
/lib/statslib.php
->
line 1631
/lib/statslib.php
->
line 1644
/auth/db/tests/db_test.php
->
line 132
/lib/tests/persistent_test.php
->
line 64
/lib/tests/persistent_test.php
->
line 93
/admin/tool/xmldb/actions/new_table_from_mysql/new_table_from_mysql.class.php
->
line 160
/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_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/dml/tests/dml_pgsql_read_slave_test.php
->
line 149
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 164
/admin/tool/xmldb/actions/check_indexes/check_indexes.class.php
->
line 72
/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
/message/output/email/db/upgrade.php
->
line 51
/mod/forum/db/upgrade.php
->
line 175