Diff for /db/prgsrc/mkdb.pl between versions 1.7 and 1.11

version 1.7, 2000/10/23 01:00:20 version 1.11, 2001/10/14 17:48:12
Line 65  print "Connected successfully\n"; Line 65  print "Connected successfully\n";
                         KEY QuestionIdKey (QuestionId),                          KEY QuestionIdKey (QuestionId),
                 ParentId        SMALLINT UNSIGNED NOT NULL,                  ParentId        SMALLINT UNSIGNED NOT NULL,
                         KEY ParentIdKey (ParentId),                          KEY ParentIdKey (ParentId),
                 Number          TINYINT UNSIGNED NOT NULL,                  Number         SMALLINT UNSIGNED NOT NULL,
                         KEY NumberKey (Number),                          KEY NumberKey (Number),
                 Type            TEXT NOT NULL,                  Type            TEXT NOT NULL,
                 Question        TEXT,                  Question        TEXT,
Line 73  print "Connected successfully\n"; Line 73  print "Connected successfully\n";
                 Authors         TEXT,                  Authors         TEXT,
                 Sources         TEXT,                  Sources         TEXT,
                 Comments        TEXT,                  Comments        TEXT,
                 Rating          TEXT                  Rating          TEXT,
                   ProcessedBySearch  INT
         )")          )")
         or die "Can't create Questions table: $!\n";          or die "Can't create Questions table: $!\n";
                   
Line 85  print "Connected successfully\n"; Line 86  print "Connected successfully\n";
                 ParentId        INT UNSIGNED NOT NULL,                  ParentId        INT UNSIGNED NOT NULL,
                         KEY ParentIdKey (ParentId),                          KEY ParentIdKey (ParentId),
                 Title           TINYTEXT NOT NULL,                  Title           TINYTEXT NOT NULL,
                   Number    SMALLINT UNSIGNED,
                 QuestionsNum INT UNSIGNED DEFAULT 0,                  QuestionsNum INT UNSIGNED DEFAULT 0,
                 Type            ENUM('ç','ô','þ'),                  Type            ENUM('ç','ô','þ'),
                 Copyright       TEXT,                  Copyright       TEXT,

Removed from v.1.7  
changed lines
  Added in v.1.11


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>