Skip to content

Commit

Permalink
Fixing bad call to table_column ("after" field not needed)
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Sep 27, 2004
1 parent d53748e commit 052fe10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db/mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)");
}
Expand Down

0 comments on commit 052fe10

Please sign in to comment.