Database Table: moods

From Dreamwidth Notes
Revision as of 17:30, 22 March 2009 by SlowSculpture (Talk | contribs)

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

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',
  PRIMARY KEY  (moodid),
  UNIQUE KEY mood (mood)
)

Relationships

Location

Global database