Database Table: memorable
From Dreamwidth Notes
Revision as of 23:52, 22 March 2009 by SlowSculpture (Talk | contribs)
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) )