mirror of
https://github.com/moodle/moodle.git
synced 2025-03-23 00:50:15 +01:00
The useridfrom would normally be a foreign key to the users table. But it can also contain some extra negative values with special semantics (-10 or -20 for no-reply or support user). Therefore we can't make it a foreign key and the index must be created explicitly.