VbzCart/tables/stk whse

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search

About

  • Purpose: tracks warehouse locations
  • Future: we'll probably want contact information, eventually.
  • History:
    • 2016-01-08 created because it really doesn't make sense to have warehouses in the suppliers table, but we do (or will) need a way to track them.

SQL

<mysql>CREATE TABLE `stk_whse` (

  `ID` INT NOT NULL AUTO_INCREMENT,
  `Name`     VARCHAR(64) COMMENT 'name of supplier as displayed',
  `isActive` BOOL COMMENT 'if FALSE, hide from casual listings',
  `Notes`    TEXT COMMENT "Human-entered notes about this supplier, for quick reference",
  PRIMARY KEY(`ID`)
) ENGINE = MYISAM;</mysql>