Changeset 3915 for trunk/tools/database/CreateTables.sql
- Timestamp:
- Aug 2, 2000, 3:01:36 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/database/CreateTables.sql
r3907 r3915 1 -- $Id: CreateTables.sql,v 1.1 5 2000-08-01 01:58:53bird Exp $1 -- $Id: CreateTables.sql,v 1.16 2000-08-02 01:01:36 bird Exp $ 2 2 -- 3 3 -- Create all tables. … … 15 15 refcode SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY, 16 16 name VARCHAR(64) NOT NULL, 17 first VARCHAR(45) NOT NULL, 18 last VARCHAR(45) NOT NULL, 17 19 initials CHAR(4) NOT NULL, 18 20 alias VARCHAR(32), … … 23 25 UNIQUE u1(refcode), 24 26 UNIQUE u2(name), 25 UNIQUE u3(initials) 27 UNIQUE u3(initials), 28 INDEX i1(first), 29 INDEX i2(last) 26 30 -- ,UNIQUE i4(alias), UNIQUE columns have to be defined NOT NULL in mySql. 27 31 -- UNIQUE i5(email) UNIQUE columns have to be defined NOT NULL in mySql. … … 55 59 weight TINYINT NOT NULL, 56 60 name VARCHAR(32) NOT NULL, 57 description VARCHAR(128)NOT NULL,61 description TEXT NOT NULL, 58 62 UNIQUE u1(refcode), 59 63 UNIQUE u2(name),
Note:
See TracChangeset
for help on using the changeset viewer.