Database Table: moodthemes

From Dreamwidth Notes
Revision as of 15:55, 22 July 2010 by Exor674Bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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