Ignore:
Timestamp:
Aug 2, 2000, 3:01:36 AM (25 years ago)
Author:
bird
Message:

Corrections and changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/CreateTables.sql

    r3907 r3915  
    1 -- $Id: CreateTables.sql,v 1.15 2000-08-01 01:58:53 bird Exp $
     1-- $Id: CreateTables.sql,v 1.16 2000-08-02 01:01:36 bird Exp $
    22--
    33-- Create all tables.
     
    1515    refcode     SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY,
    1616    name        VARCHAR(64) NOT NULL,
     17    first       VARCHAR(45) NOT NULL,
     18    last        VARCHAR(45) NOT NULL,
    1719    initials    CHAR(4) NOT NULL,
    1820    alias       VARCHAR(32),
     
    2325    UNIQUE u1(refcode),
    2426    UNIQUE u2(name),
    25     UNIQUE u3(initials)
     27    UNIQUE u3(initials),
     28    INDEX  i1(first),
     29    INDEX  i2(last)
    2630--   ,UNIQUE i4(alias), UNIQUE columns have to be defined NOT NULL in mySql.
    2731--    UNIQUE i5(email)  UNIQUE columns have to be defined NOT NULL in mySql.
     
    5559    weight  TINYINT NOT NULL,
    5660    name    VARCHAR(32) NOT NULL,
    57     description VARCHAR(128) NOT NULL,
     61    description TEXT NOT NULL,
    5862    UNIQUE u1(refcode),
    5963    UNIQUE u2(name),
Note: See TracChangeset for help on using the changeset viewer.