Difference between revisions of "Database Table: userinterests"
From Dreamwidth Notes
(Created page with 'This table associated userIDs to interests. See also commInterests userinterests =Definition= <source lang="sql"> ...') |
Exor674Bot (Talk | contribs) (Robot: Updating: Format) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | This table associated userIDs to interests. See also [[Database Table: | + | {{Database Table|name=userinterests|table type=global|repo=dw-free}} |
− | + | [[Description::This table associated userIDs to interests.]] See also [[Database Table: comminterests|comminterests]] | |
− | + | = Definition = | |
− | =Definition= | + | |
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE userinterests ( | CREATE TABLE userinterests ( | ||
− | + | userid int(10) unsigned NOT NULL default '0', | |
− | + | intid int(10) unsigned NOT NULL default '0', | |
− | + | ||
− | + | PRIMARY KEY (userid,intid), | |
+ | KEY (intid) | ||
) | ) | ||
</source> | </source> | ||
− | + | {{Database Table Footer}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 16:02, 22 July 2010
This is a global table. This table associated userIDs to interests. See also comminterests
Definition
CREATE TABLE userinterests ( userid INT(10) UNSIGNED NOT NULL DEFAULT '0', intid INT(10) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (userid,intid), KEY (intid) )