Difference between revisions of "Database Table: interests"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) (Robot: Updating: Format) |
|||
Line 1: | Line 1: | ||
{{Database Table|name=interests|table type=global|repo=dw-free}} | {{Database Table|name=interests|table type=global|repo=dw-free}} | ||
− | [[Description::This table stores information about interests.]] For associations to users, see [[Database Table: userinterests|userinterests]] | + | [[Description::This table stores information about interests.]] For associations to users, see [[Database Table: userinterests|userinterests]]. |
+ | |||
= Definition = | = Definition = | ||
+ | |||
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE interests ( | CREATE TABLE interests ( | ||
Line 10: | Line 12: | ||
) | ) | ||
</source> | </source> | ||
+ | |||
{{Database Table Footer}} | {{Database Table Footer}} |
Revision as of 18:59, 7 December 2010
This is a global table. This table stores information about interests. For associations to users, see userinterests.
Definition
CREATE TABLE interests ( intid INT(10) UNSIGNED NOT NULL, intcount mediumint(8) UNSIGNED DEFAULT NULL, PRIMARY KEY (intid) )
Relationships
Incoming
- Foreign key: intid from comminterests.intid
- Foreign key: intid from userinterests.intid