Difference between revisions of "Database Table: ml langs"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'ml_langs =Definition= <source lang="sql"> CREATE TABLE ml_langs ( lnid SMALLINT UNSIGNED NOT NULL, UNIQUE (lnid), lncode VARCHAR(16) ...')
 
(Robot: Updating: Format)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: Database Table|ml_langs]]
+
{{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,
  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}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

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
)

Relationships