Fixing bad call to table_column ("after" field not needed)

This commit is contained in:
moodler 2004-09-27 08:05:56 +00:00
parent d53748e6bf
commit 052fe105eb

View File

@ -858,7 +858,7 @@ function main_upgrade($oldversion=0) {
*/
if ($oldversion < 2004091900) { // modify idnumber to hold longer values
table_column('user', 'idnumber', 'idnumber', 'varchar', '64', '', '', '', 'auth');
table_column('user', 'idnumber', 'idnumber', 'varchar', '64', '', '', '', '');
execute_sql("ALTER TABLE {$CFG->prefix}user ADD INDEX idnumber (idnumber)");
execute_sql("ALTER TABLE {$CFG->prefix}user ADD INDEX auth (auth)");
}