Database Table: memorable

From Dreamwidth Notes
Revision as of 14:14, 13 September 2009 by 68.17.171.105 (Talk)

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