Difference between revisions of "Database Table: codes"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) (Robot: Updating: Format, definition) |
Exor674Bot (Talk | contribs) (Robot: Updating: Format) |
||
Line 1: | Line 1: | ||
− | {{Database Table|name=codes|table type=global}} | + | {{Database Table|name=codes|table type=global|repo=dw-free}} |
[[Description::This table stores coded values for a number of lists, including countries, states/provinces, and certain sets of colors. See upgrading/base-data.sql for initial content.]] | [[Description::This table stores coded values for a number of lists, including countries, states/provinces, and certain sets of colors. See upgrading/base-data.sql for initial content.]] | ||
= Definition = | = Definition = |
Latest revision as of 16:01, 22 July 2010
This is a global table. This table stores coded values for a number of lists, including countries, states/provinces, and certain sets of colors. See upgrading/base-data.sql for initial content.
Definition
CREATE TABLE codes ( TYPE VARCHAR(10) NOT NULL DEFAULT '', code VARCHAR(7) NOT NULL DEFAULT '', item VARCHAR(80) DEFAULT NULL, sortorder SMALLINT(6) NOT NULL DEFAULT '0', PRIMARY KEY (TYPE,code) ) PACK_KEYS=1