Difference between revisions of "Database Table: memorable"

From Dreamwidth Notes
Jump to: navigation, search
Line 1: Line 1:
 
Global database; deprecated in favor of [[Database Table: memorable2|memorable2]] (clustered).
 
Global database; deprecated in favor of [[Database Table: memorable2|memorable2]] (clustered).
  
[[Category: Obsolete Database Tables|memorable]]
+
[[Category: Removed Database Tables|memorable]]
 
=Definition=
 
=Definition=
 
<source lang="sql">
 
<source lang="sql">

Revision as of 14:14, 13 September 2009

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