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)
add_key
[
Top level directory
]
Function and Method Cross Reference
at:
/lib/ddl/database_manager.php
->
line 741
/lib/xmldb/xmldb_table.php
->
line 787
Referenced 313 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 2446
/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 4517
/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
/mod/assign/feedback/editpdf/db/upgrade.php
->
line 53
/mod/assign/feedback/editpdf/db/upgrade.php
->
line 54
/backup/util/dbops/backup_controller_dbops.class.php
->
line 134
/backup/util/dbops/backup_controller_dbops.class.php
->
line 135
/backup/util/dbops/backup_controller_dbops.class.php
->
line 158
/auth/lti/db/upgrade.php
->
line 53
/auth/lti/db/upgrade.php
->
line 54
/auth/lti/db/upgrade.php
->
line 55
/auth/lti/db/upgrade.php
->
line 82
/lib/tests/datalib_update_with_unique_index_test.php
->
line 92
/lib/tests/datalib_update_with_unique_index_test.php
->
line 93
/admin/tool/xmldb/actions/view_structure_php/view_structure_php.class.php
->
line 192
/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
/admin/tool/xmldb/actions/add_persistent_mandatory/add_persistent_mandatory.class.php
->
line 138
/lib/db/upgradelib.php
->
line 1538
/mod/lti/db/upgrade.php
->
line 124
/mod/lti/db/upgrade.php
->
line 125
/mod/lti/db/upgrade.php
->
line 154
/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 205
/lib/db/upgrade.php
->
line 232
/lib/db/upgrade.php
->
line 233
/lib/db/upgrade.php
->
line 261
/lib/db/upgrade.php
->
line 262
/lib/db/upgrade.php
->
line 263
/lib/db/upgrade.php
->
line 336
/lib/db/upgrade.php
->
line 415
/lib/db/upgrade.php
->
line 416
/lib/db/upgrade.php
->
line 417
/lib/db/upgrade.php
->
line 560
/lib/db/upgrade.php
->
line 990
/lib/db/upgrade.php
->
line 991
/lib/db/upgrade.php
->
line 992
/lib/db/upgrade.php
->
line 1019
/lib/db/upgrade.php
->
line 1020
/lib/db/upgrade.php
->
line 1021
/lib/db/upgrade.php
->
line 1041
/lib/db/upgrade.php
->
line 1354
/lib/db/upgrade.php
->
line 1375
/lib/db/upgrade.php
->
line 1376
/lib/db/upgrade.php
->
line 1377
/lib/db/upgrade.php
->
line 1399
/lib/db/upgrade.php
->
line 1400
/lib/db/upgrade.php
->
line 1419
/lib/db/upgrade.php
->
line 1420
/lib/db/upgrade.php
->
line 1421
/lib/db/upgrade.php
->
line 1437
/lib/db/upgrade.php
->
line 1438
/lib/db/upgrade.php
->
line 1655
/lib/db/upgrade.php
->
line 1656
/lib/db/upgrade.php
->
line 1657
/lib/db/upgrade.php
->
line 1658
/lib/db/upgrade.php
->
line 1736
/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 1756
/lib/db/upgrade.php
->
line 2051
/lib/db/upgrade.php
->
line 2052
/lib/db/upgrade.php
->
line 2099
/lib/db/upgrade.php
->
line 2100
/lib/db/upgrade.php
->
line 2101
/lib/db/upgrade.php
->
line 2263
/lib/db/upgrade.php
->
line 2310
/lib/db/upgrade.php
->
line 2330
/lib/db/upgrade.php
->
line 2331
/lib/db/upgrade.php
->
line 2355
/lib/db/upgrade.php
->
line 2356
/lib/db/upgrade.php
->
line 2357
/lib/db/upgrade.php
->
line 2696
/lib/db/upgrade.php
->
line 2697
/lib/db/upgrade.php
->
line 2698
/lib/db/upgrade.php
->
line 2699
/lib/db/upgrade.php
->
line 2973
/lib/db/upgrade.php
->
line 2974
/lib/db/upgrade.php
->
line 2975
/lib/db/upgrade.php
->
line 2976
/lib/db/upgrade.php
->
line 2999
/lib/db/upgrade.php
->
line 3000
/lib/db/upgrade.php
->
line 3001
/lib/db/upgrade.php
->
line 3002
/lib/db/upgrade.php
->
line 3105
/lib/db/upgrade.php
->
line 3106
/lib/db/upgrade.php
->
line 3107
/lib/db/upgrade.php
->
line 3108
/lib/db/upgrade.php
->
line 3315
/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 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 3849
/lib/db/upgrade.php
->
line 3850
/lib/db/upgrade.php
->
line 3876
/lib/db/upgrade.php
->
line 3877
/lib/db/upgrade.php
->
line 3878
/lib/db/upgrade.php
->
line 3898
/lib/db/upgrade.php
->
line 3899
/lib/db/upgrade.php
->
line 3900
/lib/db/upgrade.php
->
line 3920
/lib/db/upgrade.php
->
line 3921
/lib/db/upgrade.php
->
line 3922
/admin/tool/xmldb/actions/view_table_php/view_table_php.class.php
->
line 669
/search/tests/generator/lib.php
->
line 50
/enrol/database/tests/sync_test.php
->
line 136
/enrol/database/tests/sync_test.php
->
line 153
/payment/gateway/paypal/db/upgrade.php
->
line 44
/mod/bigbluebuttonbn/db/upgrade.php
->
line 332
/mod/bigbluebuttonbn/db/upgrade.php
->
line 333
/mod/bigbluebuttonbn/db/upgrade.php
->
line 334
/enrol/lti/db/upgrade.php
->
line 85
/enrol/lti/db/upgrade.php
->
line 119
/enrol/lti/db/upgrade.php
->
line 139
/enrol/lti/db/upgrade.php
->
line 140
/enrol/lti/db/upgrade.php
->
line 168
/enrol/lti/db/upgrade.php
->
line 195
/enrol/lti/db/upgrade.php
->
line 196
/enrol/lti/db/upgrade.php
->
line 197
/enrol/lti/db/upgrade.php
->
line 224
/enrol/lti/db/upgrade.php
->
line 225
/enrol/lti/db/upgrade.php
->
line 248
/enrol/lti/db/upgrade.php
->
line 249
/enrol/lti/db/upgrade.php
->
line 250
/enrol/lti/db/upgrade.php
->
line 286
/enrol/lti/db/upgrade.php
->
line 408
/mod/h5pactivity/db/upgrade.php
->
line 83
/mod/h5pactivity/db/upgrade.php
->
line 84
/mod/h5pactivity/db/upgrade.php
->
line 85
/mod/h5pactivity/db/upgrade.php
->
line 114
/mod/h5pactivity/db/upgrade.php
->
line 115
/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
/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/dml/tests/dml_pgsql_read_slave_test.php
->
line 149
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 164
/lib/ddl/tests/ddl_test.php
->
line 69
/lib/ddl/tests/ddl_test.php
->
line 70
/lib/ddl/tests/ddl_test.php
->
line 103
/lib/ddl/tests/ddl_test.php
->
line 104
/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 1404
/lib/ddl/tests/ddl_test.php
->
line 1417
/lib/ddl/tests/ddl_test.php
->
line 1421
/lib/ddl/tests/ddl_test.php
->
line 1484
/lib/ddl/tests/ddl_test.php
->
line 1498
/lib/ddl/tests/ddl_test.php
->
line 1512
/lib/ddl/tests/ddl_test.php
->
line 1528
/lib/ddl/tests/ddl_test.php
->
line 1542
/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
/lib/ddl/tests/ddl_test.php
->
line 2467
/lib/ddl/tests/ddl_test.php
->
line 2482
/message/output/email/db/upgrade.php
->
line 51
/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 175
/mod/forum/db/upgrade.php
->
line 176