Difference between revisions of "Database Table: codes"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) m (Robot: Converting database table to use semantic mediawiki form.) |
Exor674Bot (Talk | contribs) m (Robot: This table needs a description.) |
||
Line 2: | Line 2: | ||
[[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.]] | ||
+ | [[Category:Database Tables Needing Description]] | ||
= Definition = | = Definition = | ||
Revision as of 11:50, 27 January 2010
"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. 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