Difference between revisions of "Database Table: moodthemes"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) m (Robot: This table needs a description.) |
Exor674Bot (Talk | contribs) (Robot: Updating: Format, needs desc, definition) |
||
Line 1: | Line 1: | ||
− | {{Database Table|name=moodthemes|table type=global}} | + | {{Database Table|name=moodthemes|table type=global|need desc=1}} |
− | + | ||
= Definition = | = Definition = | ||
− | |||
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE moodthemes ( | CREATE TABLE moodthemes ( | ||
− | + | moodthemeid int(10) unsigned NOT NULL auto_increment, | |
− | + | ownerid int(10) unsigned NOT NULL default '0', | |
− | + | name varchar(50) default NULL, | |
− | + | des varchar(100) default NULL, | |
− | + | is_public enum('Y','N') NOT NULL default 'N', | |
− | + | ||
− | + | PRIMARY KEY (moodthemeid), | |
− | + | KEY (is_public), | |
+ | KEY (ownerid) | ||
) | ) | ||
</source> | </source> | ||
− | |||
{{Database Table Footer}} | {{Database Table Footer}} |
Revision as of 07:02, 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 moodthemes ( moodthemeid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, ownerid INT(10) UNSIGNED NOT NULL DEFAULT '0', name VARCHAR(50) DEFAULT NULL, des VARCHAR(100) DEFAULT NULL, is_public enum('Y','N') NOT NULL DEFAULT 'N', PRIMARY KEY (moodthemeid), KEY (is_public), KEY (ownerid) )
Relationships
Incoming
- Foreign key: moodthemeid from user.moodthemeid