Database Table: memorable

From Dreamwidth Notes
Revision as of 16:27, 22 July 2010 by Exor674 (Talk | contribs)

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

Note: This table is removed and no longer used. This table was removed in dw-free changeset fe91fe551e64 [1]
This is a global table. 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)
)