course_request.password should be varchar(50) not text. bug 4180

This commit is contained in:
mjollnir_
2005-10-13 21:12:13 +00:00
parent 67afdb1121
commit e19db11055
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1650,7 +1650,7 @@ function main_upgrade($oldversion=0) {
}
if ($oldversion < 2005101200) { # add enrolment key to course_request.
table_column('course_request','','password','text');
table_column('course_request','','password','varchar',50);
}
return $result;
+1 -1
View File
@@ -195,7 +195,7 @@ CREATE TABLE `prefix_course_request` (
`summary` text NOT NULL,
`reason` text NOT NULL,
`requester` int(10) NOT NULL default 0,
`password` text NOT NULL default '',
`password` varchar(50) NOT NULL default '',
PRIMARY KEY (`id`),
KEY `shortname` (`shortname`)
) TYPE=MyISAM;