Database Table: memorable

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

Jump to: navigation, search

Global database; deprecated in favor of memorable2 (clustered).

Definition

CREATE TABLE memorable (
  memid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  itemid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  des VARCHAR(60) DEFAULT NULL,
  security enum('public','friends','private') NOT NULL DEFAULT 'public',
  PRIMARY KEY  (memid),
  UNIQUE KEY userid (userid,itemid),
  KEY (itemid)
)

Relationships

Location

Global database