Difference between revisions of "Database Table: interests"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) m (Robot: This table needs a description.) |
Exor674Bot (Talk | contribs) m (Robot: Updating: Format) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Database Table|name=interests|table type=global}} | + | {{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 ( | ||
− | + | intid int(10) unsigned NOT NULL, | |
− | + | intcount mediumint(8) unsigned default NULL, | |
− | + | ||
− | + | PRIMARY KEY (intid) | |
− | + | ||
) | ) | ||
</source> | </source> | ||
{{Database Table Footer}} | {{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