Difference between revisions of "Database Table: pollproplist2"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Updating: Format)
Line 1: Line 1:
 
{{Database Table|name=pollproplist2|table type=global|repo=dw-free}}
 
{{Database Table|name=pollproplist2|table type=global|repo=dw-free}}
 
 
[[Description::This table stores metadata of poll properties used.]] This is populated from possibilities stored in [[Database Table: pollproplist2|pollproplist2]].
 
[[Description::This table stores metadata of poll properties used.]] This is populated from possibilities stored in [[Database Table: pollproplist2|pollproplist2]].
 
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE pollproplist2 (
 
CREATE TABLE pollproplist2 (
Line 15: Line 12:
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 20:18, 11 May 2011

This is a global table. This table stores metadata of poll properties used. This is populated from possibilities stored in pollproplist2.

Definition

CREATE TABLE pollproplist2 (
    propid SMALLINT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
    name VARCHAR(255) DEFAULT NULL,
    des VARCHAR(255) DEFAULT NULL,
    scope ENUM('general', 'local') DEFAULT 'general' NOT NULL,
 
    UNIQUE KEY (name)
)

Relationships