Difference between revisions of "Database Table: moodthemes"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
m (Robot: Converting database table to use semantic mediawiki form.)
Line 1: Line 1:
{{#set:name=moodthemes|clustered=false}}
+
{{#set:name=moodthemes|table type=global}}
 
= Definition =
 
= Definition =
  

Revision as of 18:45, 2 October 2009

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