Difference between revisions of "Database Table: interests"
From Dreamwidth Notes
Dreamnestia (Talk | contribs) |
Exor674Bot (Talk | contribs) m (Robot: Updating: Format) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | This table stores information about interests. For associations to users, see [[Database Table: userinterests|userinterests]] | + | {{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]]. | |
= Definition = | = Definition = | ||
− | |||
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE interests ( | CREATE TABLE interests ( | ||
− | + | intid int(10) unsigned NOT NULL, | |
− | + | intcount mediumint(8) unsigned default NULL, | |
− | + | ||
− | + | PRIMARY KEY (intid) | |
− | + | ||
) | ) | ||
</source> | </source> | ||
− | + | {{Database Table Footer}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 20:18, 11 May 2011
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