Difference between revisions of "Database Table: ml langs"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=ml_langs|table type=global}}
+
{{Database Table|name=ml_langs|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
CREATE TABLE ml_langs
+
CREATE TABLE ml_langs (
(
+
    lnid      SMALLINT UNSIGNED NOT NULL,
  lnid      SMALLINT UNSIGNED NOT NULL,
+
    UNIQUE (lnid),
  UNIQUE (lnid),
+
    lncode  VARCHAR(16) NOT NULL,  # en_US en_LJ en ch_HK ch_B5 etc... de_DE
  lncode  VARCHAR(16) NOT NULL,  # en_US en_LJ en ch_HK ch_B5 etc... de_DE
+
    UNIQUE (lncode),
  UNIQUE (lncode),
+
    lnname  VARCHAR(60) NOT NULL,  # "Deutsch"
  lnname  VARCHAR(60) NOT NULL,  # "Deutsch"
+
    parenttype  ENUM('diff','sim') NOT NULL,
  parenttype  ENUM('diff','sim') NOT NULL,
+
    parentlnid  SMALLINT UNSIGNED NOT NULL,
  parentlnid  SMALLINT UNSIGNED NOT NULL,
+
    lastupdate  DATETIME NOT NULL
  lastupdate  DATETIME NOT NULL
+
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:10, 28 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. 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
)

Relationships