Quick Fix. It should be 24!

This commit is contained in:
stronk7 2006-09-24 22:15:57 +00:00
parent 26b82be252
commit e920529bf8

View File

@ -1923,7 +1923,7 @@ function main_upgrade($oldversion=0) {
execute_sql("CREATE UNIQUE INDEX {$CFG->prefix}role_sor_uix ON {$CFG->prefix}role (sortorder);", false);
}
if ($oldversion < 2006092510) {
if ($oldversion < 2006092410) {
/// Convert all the PG unique keys into their corresponding unique indexes
/// we don't want such keys inside Moodle 1.7 and above
/// Look for all the UNIQUE CONSTRAINSTS existing in DB