Difference between revisions of "Database Table: s2stylelayers2"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 's2stylelayers =Definition= <source lang="sql"> CREATE TABLE s2stylelayers ( styleid INT UNSIGNED NOT NULL, type ENUM('core','i18nc','layout',...')
 
(Robot: Updating: Format)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category: Database Table|s2stylelayers]]
+
{{Database Table|name=s2stylelayers2|table type=clustered|need desc=1|repo=dw-free}}
=Definition=
+
= Definition =
 
<source lang="sql">
 
<source lang="sql">
CREATE TABLE s2stylelayers
+
CREATE TABLE s2stylelayers2 (
(
+
    userid  INT UNSIGNED NOT NULL,
 
     styleid INT UNSIGNED NOT NULL,
 
     styleid INT UNSIGNED NOT NULL,
 
     type ENUM('core','i18nc','layout','theme','i18n','user') NOT NULL,
 
     type ENUM('core','i18nc','layout','theme','i18n','user') NOT NULL,
     UNIQUE (styleid, type),
+
     PRIMARY KEY (userid, styleid, type),
 
     s2lid INT UNSIGNED NOT NULL
 
     s2lid INT UNSIGNED NOT NULL
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

Latest revision as of 15:55, 22 July 2010

This is a clustered table.

Definition

CREATE TABLE s2stylelayers2 (
    userid  INT UNSIGNED NOT NULL,
    styleid INT UNSIGNED NOT NULL,
    TYPE ENUM('core','i18nc','layout','theme','i18n','user') NOT NULL,
    PRIMARY KEY (userid, styleid, TYPE),
    s2lid INT UNSIGNED NOT NULL
)

Relationships