Permalink
Browse files

Put back tjhunt's changes. Invalid merge. Tabs aren't more important …

…than indexes.
  • Loading branch information...
ethem
ethem committed May 18, 2006
1 parent b2fcca2 commit 6b4f18622d9bf62b985c26f33f60dbdde13afaa1
Showing with 5 additions and 0 deletions.
  1. +5 −0 enrol/authorize/db/postgres7.php
@@ -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;
}

0 comments on commit 6b4f186

Please sign in to comment.