Difference between revisions of "Database Table: userinterests"
From Dreamwidth Notes
Dreamnestia (Talk | contribs) |
|||
Line 1: | Line 1: | ||
This table associated userIDs to interests. See also [[Database Table: comminterests|commInterests]] | 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 ( | ||
Line 12: | Line 12: | ||
</source> | </source> | ||
− | =Relationships= | + | = Relationships = |
+ | |||
Foreign key userid to [[Database Table: user|user]].userid | Foreign key userid to [[Database Table: user|user]].userid | ||
Foreign key intid to [[Database Table: user|interests]].intid | Foreign key intid to [[Database Table: user|interests]].intid | ||
− | =Location= | + | = Location = |
+ | |||
[[Global database]] | [[Global database]] | ||
+ | |||
+ | [[Category: Database Tables|userinterests]] |
Revision as of 10:22, 4 April 2009
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) )
Relationships
Foreign key userid to user.userid
Foreign key intid to interests.intid