Difference between revisions of "Database Table: clients"

From Dreamwidth Notes
Jump to: navigation, search
m (template goodness)
m (Robot: Updating: Format, type)
 
(7 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,
+
    clientid smallint(5) unsigned NOT NULL auto_increment,
  client varchar(40) default NULL,
+
    client varchar(40) default NULL,
  PRIMARY KEY  (clientid),
+
 
  KEY (client)
+
    PRIMARY KEY  (clientid),
 +
    KEY (client)
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer}}
= Relationships =
+
 
+
= Location =
+
 
+
[[Global database]]
+
 
+
[[Category: Database Tables|clients]]
+

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