From dc173a71fc447c40c38426817a5fb81c95063d4e Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 18 Jan 2011 22:36:21 -0500 Subject: grade table column type switched to text Ignore-this: 440ca7ba0700b0a2f83afabfcb51b61d darcs-hash:20110119033621-067c0-a9ff56aa1afbaa396b8350cec7698cda62e87957.gz --- GradeBook.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GradeBook.tcl') diff --git a/GradeBook.tcl b/GradeBook.tcl index 3351150..2552168 100755 --- a/GradeBook.tcl +++ b/GradeBook.tcl @@ -487,7 +487,7 @@ proc AddColumn { permission_list user } { set maxpointpossible [::ncgi::value maxpointpossible {}] if { $columnname2add != "" } { - set eval_str [concat ALTER TABLE GradesTable ADD \"$columnname2add\" real] + set eval_str [concat ALTER TABLE GradesTable ADD \"$columnname2add\" text] set err [catch {db eval $eval_str } errStat] if { $err } { htmlErrorMsg $errStat -- cgit v1.2.3