--- db/prgsrc/mkdb.pl 2000/10/17 01:31:27 1.2 +++ db/prgsrc/mkdb.pl 2000/10/17 18:35:36 1.3 @@ -23,7 +23,7 @@ The database, user and password are hard Dmitry Rubinstein -=head1 $Id: mkdb.pl,v 1.2 2000/10/17 01:31:27 boris Exp $ +=head1 $Id: mkdb.pl,v 1.3 2000/10/17 18:35:36 boris Exp $ =cut @@ -67,9 +67,7 @@ print "Connected successfully\n"; KEY ParentIdKey (ParentId), Number TINYINT UNSIGNED NOT NULL, KEY NumberKey (Number), - # Currently there are 2 types of questions: 'Chto? Gde? Kogda?' - # and 'Brain ring'. - Type ENUM('þ','â') NOT NULL, + Type TEXT NOT NULL, Question TEXT, Answer TINYTEXT, Authors TINYTEXT, @@ -87,12 +85,14 @@ print "Connected successfully\n"; KEY ParentIdKey (ParentId), Title TINYTEXT NOT NULL, QuestionsNum INT UNSIGNED DEFAULT 0, - Type ENUM('ç','ô','þ'), + Type TEXT, MetaId INT UNSIGNED, Copyright TEXT, Info TEXT, URL TINYTEXT, FileName CHAR(25), + Editor TINYTEXT, + EnteredBy TINYTEXT, PlayedAt DATE, CreatedAt DATE NOT NULL )")