Difference between revisions of "Database Table: memorable"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, needs desc)
Line 1: Line 1:
 
{{Database Table|name=memorable|table type=global|removed=1}}
 
{{Database Table|name=memorable|table type=global|removed=1}}
 
Deprecated in favor of [[Database Table: memorable2|memorable2]] (clustered).
 
Deprecated in favor of [[Database Table: memorable2|memorable2]] (clustered).
=Definition=
+
= Definition =
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE memorable (
 
CREATE TABLE memorable (

Revision as of 04:35, 30 January 2010

Note: This table is removed and no longer used.
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)
)