VbzCart/tables/cust phones

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< VbzCart‎ | tables
Revision as of 19:36, 9 July 2009 by Woozle (talk | contribs) (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

<mysql>CREATE TABLE `cust_phones` (

 `ID`         INT NOT NULL AUTO_INCREMENT,
 `ID_Cust`    INT COMMENT "core_custs.ID",
 `Name`       VARCHAR(31) COMMENT "human-assigned name (home, work...)",
 `Phone`      VARCHAR(31) COMMENT "phone number as entered/corrected",
 `PhoneSrch`  VARCHAR(31) COMMENT "Phone number in searchable form (no delimiters, no prefixes)",
 `Descr`      VARCHAR(63) COMMENT "any other notes (best times, etc.)",
 `isActive`   BOOL DEFAULT FALSE,
 PRIMARY KEY(`ID`)

) ENGINE = MYISAM;</mysql>