Difference between revisions of "Database Table: s2layers"

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=s2layers|table type=global}}
+
{{Database Table|name=s2layers|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 +
<source lang="sql">
 +
CREATE TABLE s2layers (
 +
    s2lid INT UNSIGNED NOT NULL AUTO_INCREMENT,
 +
    PRIMARY KEY (s2lid),
 +
    b2lid INT UNSIGNED NOT NULL,
 +
    userid INT UNSIGNED NOT NULL,
 +
    type ENUM('core','i18nc','layout','theme','i18n','user') NOT NULL,
  
<source lang="sql">
+
    INDEX (userid),
CREATE TABLE s2layers
+
    INDEX (b2lid, type)
(
+
  s2lid INT UNSIGNED NOT NULL AUTO_INCREMENT,
+
  PRIMARY KEY (s2lid),
+
  b2lid INT UNSIGNED NOT NULL,
+
  userid INT UNSIGNED NOT NULL,
+
  type ENUM('core','i18nc','layout','theme','i18n','user') NOT NULL,
+
  INDEX (userid),
+
  INDEX (b2lid, type)
+
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:03, 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 s2layers (
    s2lid INT UNSIGNED NOT NULL AUTO_INCREMENT,
    PRIMARY KEY (s2lid),
    b2lid INT UNSIGNED NOT NULL,
    userid INT UNSIGNED NOT NULL,
    TYPE ENUM('core','i18nc','layout','theme','i18n','user') NOT NULL,
 
    INDEX (userid),
    INDEX (b2lid, TYPE)
)

Relationships