--- db/prgsrc/mkdb.pl 2001/10/14 17:48:12 1.11 +++ db/prgsrc/mkdb.pl 2002/01/07 01:31:00 1.13 @@ -23,7 +23,7 @@ The database, user and password are hard Dmitry Rubinstein -=head1 $Id: mkdb.pl,v 1.11 2001/10/14 17:48:12 boris Exp $ +=head1 $Id: mkdb.pl,v 1.13 2002/01/07 01:31:00 boris Exp $ =cut @@ -67,13 +67,15 @@ print "Connected successfully\n"; KEY ParentIdKey (ParentId), Number SMALLINT UNSIGNED NOT NULL, KEY NumberKey (Number), - Type TEXT NOT NULL, + Type CHAR(5), + KEY TypeKey (Type), Question TEXT, Answer TEXT, Authors TEXT, Sources TEXT, Comments TEXT, Rating TEXT, + Topic TEXT, ProcessedBySearch INT )") or die "Can't create Questions table: $!\n";