Difference between revisions of "Database Table: memorable"
From Dreamwidth Notes
Line 1: | Line 1: | ||
− | + | {{Database Table|name=memorable|table type=global|removed=1}} | |
− | + | Deprecated in favor of [[Database Table: memorable2|memorable2]] (clustered). | |
− | + | ||
=Definition= | =Definition= | ||
<source lang="sql"> | <source lang="sql"> | ||
Line 15: | Line 14: | ||
) | ) | ||
</source> | </source> | ||
− | + | {{Database Table Footer|removed=1}} | |
− | = | + | |
− | + | ||
− | + | ||
− | + |
Revision as of 04:14, 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) )