Difference between revisions of "Database Table: clients"
From Dreamwidth Notes
m |
Exor674Bot (Talk | contribs) m (Robot: Updating: Format, type) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Database Table|name=clients|table type=global|need desc=1|repo=dw-free}} |
This table is populated at startup with all distinct values of {{DBField|logins|client}}. | This table is populated at startup with all distinct values of {{DBField|logins|client}}. | ||
= Definition = | = Definition = | ||
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE clients ( | CREATE TABLE clients ( | ||
− | + | clientid smallint(5) unsigned NOT NULL auto_increment, | |
− | + | client varchar(40) default NULL, | |
− | + | ||
− | + | PRIMARY KEY (clientid), | |
+ | KEY (client) | ||
) | ) | ||
</source> | </source> | ||
{{Database Table Footer}} | {{Database Table Footer}} |
Latest revision as of 20:57, 19 September 2011
This is a global table. This table is populated at startup with all distinct values of logins.client.
Definition
CREATE TABLE clients ( clientid SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT, client VARCHAR(40) DEFAULT NULL, PRIMARY KEY (clientid), KEY (client) )
Relationships
Incoming
- Foreign key: clientid from clientusage.clientid