Main | School

Here is the design for the PHPMotors database. I'll put it in a table once I figure out how.

Messages

Columndata typekey type
message idunsigned intprimary key
namevarchar(60)foreign key
user idunsigned intforeign key
user typeunsigned intforeign key
email addressvarchar(60)*
messagetext*
datetimestamp*
message typeenum*

Users

Columndata typekey?
user idunsigned intprimary key
namevarchar(60)*
email addressvarchar(60*
user typeenum*
date joineddate*
last activetimestamp*
addresstext*
favorite carsset*
notestext*

Contact Me | Policies | Colophon

© 2009, Jonathan Dunstan, All Rights Reserved.