mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Put back tjhunt's changes. Invalid merge. Tabs aren't more important than indexes.
This commit is contained in:
parent
b2fcca2761
commit
6b4f18622d
@ -115,6 +115,11 @@ function enrol_authorize_upgrade($oldversion=0) {
|
||||
table_column('enrol_authorize', 'transid', 'transid', 'integer', '10', 'unsigned', '0', 'not null');
|
||||
}
|
||||
|
||||
if ($oldversion < 2006050400) { // Create transid indexes for backup & restore speed.
|
||||
execute_sql("CREATE INDEX {$CFG->prefix}enrol_authorize_transid_idx ON {$CFG->prefix}enrol_authorize(transid);", false);
|
||||
execute_sql("CREATE INDEX {$CFG->prefix}enrol_authorize_refunds_transid_idx ON {$CFG->prefix}enrol_authorize_refunds(transid);", false);
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user