Database Table: moods

From Dreamwidth Notes
Revision as of 16:00, 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 moods (
    moodid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
    mood VARCHAR(40) DEFAULT NULL,
    parentmood INT(10) UNSIGNED NOT NULL DEFAULT '0',
    weight tinyint UNSIGNED DEFAULT NULL,
 
    PRIMARY KEY  (moodid),
    UNIQUE KEY mood (mood)
)

Relationships