mirror of
https://github.com/moodle/moodle.git
synced 2025-01-21 07:28:31 +01:00
Fixing bad call to table_column ("after" field not needed)
This commit is contained in:
parent
d53748e6bf
commit
052fe105eb
@ -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)");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user