Difference between revisions of "Database Table: clientusage"
From Dreamwidth Notes
m |
Exor674Bot (Talk | contribs) (Robot: Updating: Format, definition) |
||
Line 1: | Line 1: | ||
− | {{Database Table|name=clientusage| | + | {{Database Table|name=clientusage|table type=global}} |
[[Description::This table is populated at login.]] | [[Description::This table is populated at login.]] | ||
= Definition = | = Definition = | ||
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE clientusage ( | CREATE TABLE clientusage ( | ||
− | + | userid int(10) unsigned NOT NULL default '0', | |
− | + | clientid smallint(5) unsigned NOT NULL default '0', | |
− | + | lastlogin datetime NOT NULL default '0000-00-00 00:00:00', | |
− | + | ||
− | + | PRIMARY KEY (clientid,userid), | |
+ | UNIQUE KEY userid (userid,clientid) | ||
) | ) | ||
</source> | </source> | ||
{{Database Table Footer}} | {{Database Table Footer}} |
Revision as of 07:06, 28 January 2010
"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table. This table is populated at login.
Definition
CREATE TABLE clientusage ( userid INT(10) UNSIGNED NOT NULL DEFAULT '0', clientid SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', lastlogin datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (clientid,userid), UNIQUE KEY userid (userid,clientid) )