Difference between revisions of "Database Table: memorable"

From Dreamwidth Notes
Jump to: navigation, search
(New page: Global database; Deprecated in favor of see Database Table: memorable2 (clustered). memorable)
 
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Global database; Deprecated in favor of see [[Database Table: memorable2]] (clustered).
+
{{Database Table|name=memorable|table type=global|repo=dw-free|removed=1|removed in=fe91fe551e64}}
 
+
Deprecated in favor of [[Database Table: memorable2|memorable2]] (clustered).
[[Category: Obsolete Database Tables|memorable]]
+
= Definition =
 +
<source lang="sql">
 +
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)
 +
)
 +
</source>
 +
{{Database Table Footer|removed=1}}

Latest revision as of 16:27, 22 July 2010

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)
)