Difference between revisions of "Database Table: moodthemedata"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Database Table|name=moodthemedata|table type=global}}
+
{{Database Table|name=moodthemedata|table type=global|need desc=1|repo=dw-free}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE moodthemedata (
 
CREATE TABLE moodthemedata (
  moodthemeid int(10) unsigned NOT NULL default '0',
+
    moodthemeid int(10) unsigned NOT NULL default '0',
  moodid int(10) unsigned NOT NULL default '0',
+
    moodid int(10) unsigned NOT NULL default '0',
  picurl varchar(100) default NULL,
+
    picurl varchar(200) default NULL,
  width tinyint(3) unsigned NOT NULL default '0',
+
    width tinyint(3) unsigned NOT NULL default '0',
  height tinyint(3) unsigned NOT NULL default '0',
+
    height tinyint(3) unsigned NOT NULL default '0',
  KEY (moodthemeid),
+
 
  PRIMARY KEY  (moodthemeid,moodid)
+
    KEY (moodthemeid),
 +
    PRIMARY KEY  (moodthemeid,moodid)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 15:59, 22 July 2010

This is a global table.

Definition

CREATE TABLE moodthemedata (
    moodthemeid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    moodid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    picurl VARCHAR(200) DEFAULT NULL,
    width tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
    height tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
 
    KEY (moodthemeid),
    PRIMARY KEY  (moodthemeid,moodid)
)

Relationships