VbzCart/docs/tables/cust names

From Woozle Writes Code
< VbzCart‎ | docs‎ | tables
Revision as of 19:36, 9 July 2009 by imported>Woozle (moved from "customer tables" page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

  • History:
    • 2009-07-09 moved to separate wiki page; no design changes

SQL

<section begin=sql /><mysql>CREATE TABLE `cust_names` (

 `ID`         INT NOT NULL AUTO_INCREMENT,
 `ID_Cust`    INT COMMENT "core_custs.ID",
 `Name`       VARCHAR(127) COMMENT "customer's name, for shipping label",
 `NameSrch`   VARCHAR(127) COMMENT "name with delimiters removed, for matching",
 `isActive`   BOOL DEFAULT FALSE COMMENT "NO=wrong spelling or name; use for searching",
 PRIMARY KEY(`ID`)

) ENGINE = MYISAM;</mysql> <section end=sql />