Difference between revisions of "Database Table: ml langs"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) m (Robot: Converting database table to use semantic mediawiki form.) |
Exor674Bot (Talk | contribs) (Robot: Updating: Format) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Database Table|name=ml_langs|table type=global|need desc=1|repo=dw-free}} |
= Definition = | = Definition = | ||
− | |||
<source lang="sql"> | <source lang="sql"> | ||
− | CREATE TABLE ml_langs | + | CREATE TABLE ml_langs ( |
− | ( | + | lnid SMALLINT UNSIGNED NOT NULL, |
− | + | UNIQUE (lnid), | |
− | + | lncode VARCHAR(16) NOT NULL, # en_US en_LJ en ch_HK ch_B5 etc... de_DE | |
− | + | UNIQUE (lncode), | |
− | + | lnname VARCHAR(60) NOT NULL, # "Deutsch" | |
− | + | parenttype ENUM('diff','sim') NOT NULL, | |
− | + | parentlnid SMALLINT UNSIGNED NOT NULL, | |
− | + | lastupdate DATETIME NOT NULL | |
− | + | ||
) | ) | ||
</source> | </source> | ||
− | |||
{{Database Table Footer}} | {{Database Table Footer}} |
Latest revision as of 16:03, 22 July 2010
This is a global table.
Definition
CREATE TABLE ml_langs ( lnid SMALLINT UNSIGNED NOT NULL, UNIQUE (lnid), lncode VARCHAR(16) NOT NULL, # en_US en_LJ en ch_HK ch_B5 etc... de_DE UNIQUE (lncode), lnname VARCHAR(60) NOT NULL, # "Deutsch" parenttype ENUM('diff','sim') NOT NULL, parentlnid SMALLINT UNSIGNED NOT NULL, lastupdate DATETIME NOT NULL )